diff options
author | John Stultz <john.stultz@linaro.org> | 2012-05-03 12:43:40 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-03-22 16:19:59 -0700 |
commit | 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4 (patch) | |
tree | 202cef5857654e15eb471c2216f37f995f1c6e2f /include/linux/time.h | |
parent | cc244ddae6d4c6902ac9d7d64023534f8c44a7eb (diff) | |
download | linux-1ff3c9677bff7e468e0c487d0ffefe4e901d33f4.tar.gz linux-1ff3c9677bff7e468e0c487d0ffefe4e901d33f4.tar.bz2 linux-1ff3c9677bff7e468e0c487d0ffefe4e901d33f4.zip |
timekeeping: Add CLOCK_TAI clockid
This add a CLOCK_TAI clockid and the needed accessors.
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/time.h')
-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 47210a175e78..22d81b3c955b 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -183,6 +183,7 @@ extern u64 timekeeping_max_deferment(void); extern int timekeeping_inject_offset(struct timespec *ts); extern s32 timekeeping_get_tai_offset(void); extern void timekeeping_set_tai_offset(s32 tai_offset); +extern void timekeeping_clocktai(struct timespec *ts); struct tms; extern void do_sys_times(struct tms *); |