aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeper_internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 17:05:04 -0400
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 18:01:49 -0400
commitf519b1a2e08c913375324a927992bb328387f169 (patch)
tree0a4ccfd703fc4bed1da94cf9f1ed355f0eda0a60 /include/linux/timekeeper_internal.h
parent2044fdb03eb4e511d5028be0917899931f17461f (diff)
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.h3
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 {
54 /* The current UTC to TAI offset in seconds */ 54 /* The current UTC to TAI offset in seconds */
55 s32 tai_offset; 55 s32 tai_offset;
56 56
57 /* Monotonic raw base time */
58 ktime_t base_raw;
59
57 /* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */ 60 /* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */
58 struct timespec64 raw_time; 61 struct timespec64 raw_time;
59 62