Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964797AbVKZOyF (ORCPT ); Sat, 26 Nov 2005 09:54:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964794AbVKZOyF (ORCPT ); Sat, 26 Nov 2005 09:54:05 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:22206 "EHLO mx2.mail.elte.hu") by vger.kernel.org with ESMTP id S964793AbVKZOyD (ORCPT ); Sat, 26 Nov 2005 09:54:03 -0500 Date: Sat, 26 Nov 2005 15:54:06 +0100 From: Ingo Molnar To: john stultz Cc: lkml , Darren Hart , Nishanth Aravamudan , Frank Sorenson , George Anzinger , Roman Zippel , Ulrich Windl , Thomas Gleixner Subject: Re: [PATCH 4/13] Time: Generic Timekeeping Infrastructure Message-ID: <20051126145406.GF12999@elte.hu> References: <20051122013515.18537.76463.sendpatchset@cog.beaverton.ibm.com> <20051122013541.18537.9070.sendpatchset@cog.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051122013541.18537.9070.sendpatchset@cog.beaverton.ibm.com> User-Agent: Mutt/1.4.2.1i X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=ALL_TRUSTED,AWL autolearn=no SpamAssassin version=3.0.3 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.3 AWL AWL: From: address is in the auto white-list X-ELTE-VirusStatus: clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1117 Lines: 34 - clean up timeofday-core.patch Signed-off-by: Ingo Molnar include/asm-generic/timeofday.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: linux/include/asm-generic/timeofday.h =================================================================== --- linux.orig/include/asm-generic/timeofday.h +++ linux/include/asm-generic/timeofday.h @@ -12,6 +12,7 @@ #include #include + #ifdef CONFIG_GENERIC_TIME /* Required externs */ extern nsec_t read_persistent_clock(void); @@ -22,7 +23,7 @@ extern void arch_update_vsyscall_gtod(st cycle_t offset_base, struct clocksource* clock, int ntp_adj); #else -#define arch_update_vsyscall_gtod(x,y,z,w) {} +# define arch_update_vsyscall_gtod(x,y,z,w) do { } while(0) #endif /* CONFIG_GENERIC_TIME_VSYSCALL */ #endif /* CONFIG_GENERIC_TIME */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/