summaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeper_internal.h
diff options
context:
space:
mode:
authorJohn Stultz2013-01-22 02:00:11 +0100
committerJohn Stultz2013-03-23 00:19:59 +0100
commit90adda98b89aaf68b06014ecf805b6c477daa19b (patch)
treec50d47c4c344774205569ce42e13d16a8174b02e /include/linux/timekeeper_internal.h
parenttimekeeping: Add CLOCK_TAI clockid (diff)
downloadkernel-qcow2-linux-90adda98b89aaf68b06014ecf805b6c477daa19b.tar.gz
kernel-qcow2-linux-90adda98b89aaf68b06014ecf805b6c477daa19b.tar.xz
kernel-qcow2-linux-90adda98b89aaf68b06014ecf805b6c477daa19b.zip
hrtimer: Add hrtimer support for CLOCK_TAI
Add hrtimer support for CLOCK_TAI, as well as posix timer interfaces. Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeper_internal.h')
-rw-r--r--include/linux/timekeeper_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h
index ff94f436f8b7..26700d870506 100644
--- a/include/linux/timekeeper_internal.h
+++ b/include/linux/timekeeper_internal.h
@@ -64,6 +64,8 @@ struct timekeeper {
struct timespec raw_time;
/* The current UTC to TAI offset in seconds */
s32 tai_offset;
+ /* Offset clock monotonic -> clock tai */
+ ktime_t offs_tai;
/* Seqlock for all timekeeper values */
seqlock_t lock;