timekeeping: Store cycle_last value in timekeeper struct as well
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Feb 2013 22:51:38 +0000 (22:51 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 20:18:31 +0000 (13:18 -0700)
commit14a3b6abe98c8f53a13522610c257accef7321df
treea14383c4c852d5d2268607443a61bfa437cd9bfd
parenta076b2146fabb0894cae5e0189a8ba3f1502d737
timekeeping: Store cycle_last value in timekeeper struct as well

For implementing a shadow timekeeper and a split calculation/update
region we need to store the cycle_last value in the timekeeper and
update the value in the clocksource struct only in the update region.

Add the extra storage to the timekeeper.

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