From patchwork Tue Jan 30 00:21:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 867363 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89814-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="HInQQnl0"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zVn9x14l0z9s72 for ; Tue, 30 Jan 2018 11:21:40 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=c6G2kHXse2QoB23qWylPCNnmV9dn2SUOt7EBMEvqwOpCPYW0qxgX4 /yrDF58e4A1jK+BeVgkmett/DTjCJMfVeo43u3fPp253+kyKR7QNIYVXhjOBQaw2 LLpjQ6mVsD2M6aAIvqlDDOq4cdbTeYJkKy2wLfcvFBDLe9Wa8GONRg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=OeFFShHqa/wpixM+vVnJtkAqj+g=; b=HInQQnl0d+AZcuuQ2WS+OppiaYAN //jTMDrk6Gp96MFkRvU9d28qVpadqRZ84HhYlMPyQ3T0l+3dWKeOMg9+x8EajyeZ U353PL3EXKI8qk9MjtZCupZummWU6m6CsncTFk3DO5M62m1mAwwFpHKDpptJlMr5 tiK0KR3v+XEazZU= Received: (qmail 14967 invoked by alias); 30 Jan 2018 00:21:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 14957 invoked by uid 89); 30 Jan 2018 00:21:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=sum X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd, commited] hurd: include generic's hp-timing.h instead of copying it Date: Tue, 30 Jan 2018 01:21:29 +0100 Message-Id: <20180130002129.18108-1-samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/hp-timing.h: include instead of copying it. --- sysdeps/mach/hurd/hp-timing.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/sysdeps/mach/hurd/hp-timing.h b/sysdeps/mach/hurd/hp-timing.h index d1845e17b2..7bff90cb93 100644 --- a/sysdeps/mach/hurd/hp-timing.h +++ b/sysdeps/mach/hurd/hp-timing.h @@ -17,22 +17,5 @@ License along with the GNU C Library; if not, see . */ -#ifndef _HP_TIMING_H -#define _HP_TIMING_H 1 - /* We don't have support for high precision timing for now. */ - -/* Provide dummy definitions. */ -#define HP_TIMING_AVAIL (0) -#define HP_SMALL_TIMING_AVAIL (0) -#define HP_TIMING_INLINE (0) -typedef int hp_timing_t; -#define HP_TIMING_NOW(var) -#define HP_TIMING_DIFF(Diff, Start, End) -#define HP_TIMING_ACCUM_NT(Sum, Diff) -#define HP_TIMING_PRINT(Buf, Len, Val) - -/* Since this implementation is not available we tell the user about it. */ -#define HP_TIMING_NONAVAIL 1 - -#endif /* hp-timing.h */ +#include