mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 06:41:39 +00:00
timekeeping: Move lock out of timekeeper struct
Make the lock a separate entity. Preparatory patch for shadow timekeeper structure. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> [Merged with CLOCK_TAI changes] Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
eb93e4d930
commit
7e40672d93
2 changed files with 53 additions and 57 deletions
|
@ -67,8 +67,6 @@ struct timekeeper {
|
|||
/* Offset clock monotonic -> clock tai */
|
||||
ktime_t offs_tai;
|
||||
|
||||
/* Seqlock for all timekeeper values */
|
||||
seqlock_t lock;
|
||||
};
|
||||
|
||||
static inline struct timespec tk_xtime(struct timekeeper *tk)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue