]> git.karo-electronics.de Git - linux-beck.git/commit
timekeeping: Delay update of clock->cycle_last
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Feb 2013 22:51:39 +0000 (22:51 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 20:18:31 +0000 (13:18 -0700)
commit7ec98e15aa049b7a2ca73485f31cf4f90c34e2dd
tree9cfe66164c13f1c2413fb2c8335971918e43d6c9
parent14a3b6abe98c8f53a13522610c257accef7321df
timekeeping: Delay update of clock->cycle_last

For calculating the new timekeeper values store the new cycle_last
value in the timekeeper and update the clock->cycle_last just when we
actually update the new values.

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