diff options
author | John Stultz <johnstul@us.ibm.com> | 2009-08-14 09:47:18 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-15 04:55:45 -0400 |
commit | 31089c13bcb18d2cd2a3ddfbe3a28666346f237e (patch) | |
tree | 9db4868a4c524efd6f927a555e43c009a70243a5 /include | |
parent | 4cd1993f0046fbc765dbf20af90966f5661e3789 (diff) |
timekeeping: Introduce timekeeping_leap_insert
Move the adjustment of xtime, wall_to_monotonic and the update of the
vsyscall variables to the timekeeping code.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
LKML-Reference: <20090814134807.609730216@de.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index ea16c1a01d51..e7c844558884 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
@@ -147,6 +147,7 @@ extern struct timespec timespec_trunc(struct timespec t, unsigned gran); | |||
147 | extern int timekeeping_valid_for_hres(void); | 147 | extern int timekeeping_valid_for_hres(void); |
148 | extern void update_wall_time(void); | 148 | extern void update_wall_time(void); |
149 | extern void update_xtime_cache(u64 nsec); | 149 | extern void update_xtime_cache(u64 nsec); |
150 | extern void timekeeping_leap_insert(int leapsecond); | ||
150 | 151 | ||
151 | struct tms; | 152 | struct tms; |
152 | extern void do_sys_times(struct tms *); | 153 | extern void do_sys_times(struct tms *); |