timekeeping: Implement a shadow timekeeper
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Feb 2013 22:51:40 +0000 (22:51 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 20:18:32 +0000 (13:18 -0700)
commit48cdc135d4840aab8efd2fc3bacb5d7dfd94a9c8
tree4ef4c34ff6312bb4dd9d381d3ba17c2aa5c7cfc8
parent7ec98e15aa049b7a2ca73485f31cf4f90c34e2dd
timekeeping: Implement a shadow timekeeper

Use the shadow timekeeper to do the update_wall_time() adjustments and
then copy it over to the real timekeeper.

Keep the shadow timekeeper in sync when updating stuff outside of
update_wall_time().

This allows us to limit the timekeeper_seq hold time to the update of
the real timekeeper and the vsyscall data in the next patch.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/timekeeping.c