diff options
Diffstat (limited to 'include/linux/timekeeper_internal.h')
-rw-r--r-- | include/linux/timekeeper_internal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h index e1d558e237ec..a151bd70e52b 100644 --- a/include/linux/timekeeper_internal.h +++ b/include/linux/timekeeper_internal.h | |||
@@ -62,8 +62,11 @@ struct timekeeper { | |||
62 | ktime_t offs_boot; | 62 | ktime_t offs_boot; |
63 | /* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */ | 63 | /* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */ |
64 | struct timespec raw_time; | 64 | struct timespec raw_time; |
65 | /* Seqlock for all timekeeper values */ | 65 | /* The current UTC to TAI offset in seconds */ |
66 | seqlock_t lock; | 66 | s32 tai_offset; |
67 | /* Offset clock monotonic -> clock tai */ | ||
68 | ktime_t offs_tai; | ||
69 | |||
67 | }; | 70 | }; |
68 | 71 | ||
69 | static inline struct timespec tk_xtime(struct timekeeper *tk) | 72 | static inline struct timespec tk_xtime(struct timekeeper *tk) |