diff options
Diffstat (limited to 'include/linux/timex.h')
-rw-r--r-- | include/linux/timex.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h index d543d3871e38..2a21485bf183 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h | |||
@@ -294,11 +294,15 @@ extern void register_time_interpolator(struct time_interpolator *); | |||
294 | extern void unregister_time_interpolator(struct time_interpolator *); | 294 | extern void unregister_time_interpolator(struct time_interpolator *); |
295 | extern void time_interpolator_reset(void); | 295 | extern void time_interpolator_reset(void); |
296 | extern unsigned long time_interpolator_get_offset(void); | 296 | extern unsigned long time_interpolator_get_offset(void); |
297 | extern void time_interpolator_update(long delta_nsec); | ||
297 | 298 | ||
298 | #else /* !CONFIG_TIME_INTERPOLATION */ | 299 | #else /* !CONFIG_TIME_INTERPOLATION */ |
299 | 300 | ||
300 | static inline void | 301 | static inline void time_interpolator_reset(void) |
301 | time_interpolator_reset(void) | 302 | { |
303 | } | ||
304 | |||
305 | static inline void time_interpolator_update(long delta_nsec) | ||
302 | { | 306 | { |
303 | } | 307 | } |
304 | 308 | ||
@@ -309,6 +313,8 @@ time_interpolator_reset(void) | |||
309 | /* Returns how long ticks are at present, in ns / 2^(SHIFT_SCALE-10). */ | 313 | /* Returns how long ticks are at present, in ns / 2^(SHIFT_SCALE-10). */ |
310 | extern u64 current_tick_length(void); | 314 | extern u64 current_tick_length(void); |
311 | 315 | ||
316 | extern void second_overflow(void); | ||
317 | extern void update_ntp_one_tick(void); | ||
312 | extern int do_adjtimex(struct timex *); | 318 | extern int do_adjtimex(struct timex *); |
313 | 319 | ||
314 | #endif /* KERNEL */ | 320 | #endif /* KERNEL */ |