]> Pileus Git - ~andy/linux/blobdiff - include/linux/time.h
timekeeping: Add CLOCK_TAI clockid
[~andy/linux] / include / linux / time.h
index d4835dfdf25e505f87c59956f09af0a203aba95a..22d81b3c955b533bf73ec0b9353c6c7d4287c010 100644 (file)
@@ -181,6 +181,9 @@ extern struct timespec timespec_trunc(struct timespec t, unsigned gran);
 extern int timekeeping_valid_for_hres(void);
 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 *);