diff options
author | John Stultz <john.stultz@linaro.org> | 2012-05-30 10:54:57 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-06-04 21:46:29 +0200 |
commit | fad0c66c4bb836d57a5f125ecd38bed653ca863a (patch) | |
tree | f35b5081b03f0f090c13a0fa074ff7cb3b1f60c1 /kernel/spinlock.c | |
parent | 9171c670b4915e30360c2aed530b8377fbbcc852 (diff) | |
download | linux-fad0c66c4bb836d57a5f125ecd38bed653ca863a.tar.gz linux-fad0c66c4bb836d57a5f125ecd38bed653ca863a.tar.bz2 linux-fad0c66c4bb836d57a5f125ecd38bed653ca863a.zip |
timekeeping: Fix CLOCK_MONOTONIC inconsistency during leapsecond
Commit 6b43ae8a61 (ntp: Fix leap-second hrtimer livelock) broke the
leapsecond update of CLOCK_MONOTONIC. The missing leapsecond update to
wall_to_monotonic causes discontinuities in CLOCK_MONOTONIC.
Adjust wall_to_monotonic when NTP inserted a leapsecond.
Reported-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Tested-by: Richard Cochran <richardcochran@gmail.com>
Cc: stable@kernel.org
Link: http://lkml.kernel.org/r/1338400497-12420-1-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/spinlock.c')
0 files changed, 0 insertions, 0 deletions