lkml.org 
[lkml]   [2005]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 4/13] Time: Generic Timekeeping Infrastructure

- clean up timeofday-core.patch

Signed-off-by: Ingo Molnar <mingo@elte.hu>

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 <linux/clocksource.h>

#include <asm/div64.h>
+
#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/
\
 
 \ /
  Last update: 2005-11-26 15:57    [W:0.102 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site