Skip to content

Commit

Permalink
timekeeping: Move lock out of timekeeper struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and John Stultz committed Mar 22, 2013
1 parent eb93e4d commit 7e40672
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 57 deletions.
2 changes: 0 additions & 2 deletions include/linux/timekeeper_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading

0 comments on commit 7e40672

Please sign in to comment.