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>
This commit is contained in:
John Stultz 2013-01-21 17:00:11 -08:00
parent 1ff3c9677b
commit 90adda98b8
5 changed files with 44 additions and 3 deletions

View file

@ -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;