summaryrefslogtreecommitdiff
path: root/include/linux/timekeeper_internal.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-01-22 05:00:11 +0400
committerJohn Stultz <john.stultz@linaro.org>2013-03-23 03:19:59 +0400
commit90adda98b89aaf68b06014ecf805b6c477daa19b (patch)
treec50d47c4c344774205569ce42e13d16a8174b02e /include/linux/timekeeper_internal.h
parent1ff3c9677bff7e468e0c487d0ffefe4e901d33f4 (diff)
downloadlinux-90adda98b89aaf68b06014ecf805b6c477daa19b.tar.xz
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;