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:
Thomas Gleixner
2013-02-21 22:51:37 +00:00
committed by John Stultz
parent eb93e4d930
commit 7e40672d93
2 changed files with 53 additions and 57 deletions

View File

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