summaryrefslogtreecommitdiffstats
path: root/include/linux/rcupdate.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-07-13 01:21:56 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-07-15 10:39:07 +0200
commit2a8c0883c3cfffcc148ea606e2a4e7453cd75e73 (patch)
tree9a340aaef6785881ec0eab74c32ad35841441889 /include/linux/rcupdate.h
parentf2a5a0854efc62abe7f69e9947842cb135837f9a (diff)
downloadop-kernel-dev-2a8c0883c3cfffcc148ea606e2a4e7453cd75e73.zip
op-kernel-dev-2a8c0883c3cfffcc148ea606e2a4e7453cd75e73.tar.gz
time: Move xtime_nsec adjustment underflow handling timekeeping_adjust
When we make adjustments speeding up the clock, its possible for xtime_nsec to underflow. We already handle this properly, but we do so from update_wall_time() instead of the more logical timekeeping_adjust(), where the possible underflow actually occurs. Thus, move the correction logic to the timekeeping_adjust, which is the function that causes the issue. Making update_wall_time() more readable. Signed-off-by: John Stultz <johnstul@us.ibm.com> Reviewed-by: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Link: http://lkml.kernel.org/r/1342156917-25092-8-git-send-email-john.stultz@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/rcupdate.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud