mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
1ff3c9677b
commit
90adda98b8
5 changed files with 44 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue