From: Andrew Morton it's a losing battle. Cc: John Stultz Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Andi Kleen Cc: Roman Zippel Signed-off-by: Andrew Morton --- include/linux/clocksource.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN include/linux/clocksource.h~generic-vsyscall-gtod-support-for-generic_time-tidy include/linux/clocksource.h --- a/include/linux/clocksource.h~generic-vsyscall-gtod-support-for-generic_time-tidy +++ a/include/linux/clocksource.h @@ -187,7 +187,9 @@ struct clocksource* clocksource_get_next #ifdef CONFIG_GENERIC_TIME_VSYSCALL extern void update_vsyscall(struct timespec *ts, struct clocksource *c); #else -#define update_vsyscall(now, c) do { } while(0) +static inline void update_vsyscall(struct timespec *ts, struct clocksource *c) +{ +} #endif #endif /* _LINUX_CLOCKSOURCE_H */ _