commit | 70471f2f061d59375e959b4e7d47ee62121babb1 | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Mon Nov 14 12:48:10 2011 -0800 |
committer | John Stultz <john.stultz@linaro.org> | Thu Jan 26 19:44:18 2012 -0800 |
tree | f2799ccaaed2d976748d6ecd8708c0886c142bf5 | |
parent | 8fcce546be16130865550136831f71097d7fc228 [diff] |
time: Add timekeeper lock 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>