diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 21:05:04 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 15:01:49 -0700 |
commit | f519b1a2e08c913375324a927992bb328387f169 (patch) | |
tree | 0a4ccfd703fc4bed1da94cf9f1ed355f0eda0a60 /include/linux/timekeeper_internal.h | |
parent | 2044fdb03eb4e511d5028be0917899931f17461f (diff) | |
download | blackbird-op-linux-f519b1a2e08c913375324a927992bb328387f169.tar.gz blackbird-op-linux-f519b1a2e08c913375324a927992bb328387f169.zip |
timekeeping: Provide ktime_get_raw()
Provide a ktime_t based interface for raw monotonic time.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeper_internal.h')
-rw-r--r-- | include/linux/timekeeper_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h index 8e5d77a01787..2e20275a7083 100644 --- a/include/linux/timekeeper_internal.h +++ b/include/linux/timekeeper_internal.h @@ -54,6 +54,9 @@ struct timekeeper { /* The current UTC to TAI offset in seconds */ s32 tai_offset; + /* Monotonic raw base time */ + ktime_t base_raw; + /* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */ struct timespec64 raw_time; |