diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h index 4486dfd5d0de..58c83d6e65b3 100644 --- a/include/linux/timekeeper_internal.h +++ b/include/linux/timekeeper_internal.h @@ -194,6 +194,7 @@ struct timekeeper { extern void update_vsyscall(struct timekeeper *tk); extern void update_vsyscall_tz(void); +extern void vdso_time_update_aux(struct timekeeper *tk); #else @@ -203,12 +204,9 @@ static inline void update_vsyscall(struct timekeeper *tk) static inline void update_vsyscall_tz(void) { } -#endif - -#if defined(CONFIG_GENERIC_GETTIMEOFDAY) && defined(CONFIG_POSIX_AUX_CLOCKS) -extern void vdso_time_update_aux(struct timekeeper *tk); -#else -static inline void vdso_time_update_aux(struct timekeeper *tk) { } +static inline void vdso_time_update_aux(struct timekeeper *tk) +{ +} #endif #endif /* _LINUX_TIMEKEEPER_INTERNAL_H */