time: Add timekeeper lock
authorJohn Stultz <john.stultz@linaro.org>
Mon, 14 Nov 2011 20:48:10 +0000 (12:48 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 27 Jan 2012 03:44:18 +0000 (19:44 -0800)
Now that all the timekeeping variables are stored in
the timekeeper structure, add a new lock to protect the
structure.

For now, this lock nests under the xtime_lock for writes.

For readers, we don't need to take xtime_lock anymore.

CC: Thomas Gleixner <tglx@linutronix.de>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>

No differences found