Messages in this thread Patch in this message | | | Date | Sat, 26 Nov 2005 15:54:06 +0100 | From | Ingo Molnar <> | Subject | Re: [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/
| |