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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



- clean up timeofday-core.patch

Signed-off-by: Ingo Molnar <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux