Re: [PATCH 4/13] Time: Generic Timekeeping Infrastructure

From: Ingo Molnar
Date: Sat Nov 26 2005 - 09:57:19 EST



- clean up timeofday-core.patch

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/