diff options
author | John Stultz <john.stultz@linaro.org> | 2012-07-17 13:33:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-19 08:58:27 -0700 |
commit | c33f2424c3941986d402c81d380d4e805870a20f (patch) | |
tree | 760820ea1cd58f4ba8bc6addb09df423fb671409 /kernel/pid.c | |
parent | 96bab736bad82423c2b312d602689a9078481fa9 (diff) | |
download | kernel_samsung_tuna-c33f2424c3941986d402c81d380d4e805870a20f.zip kernel_samsung_tuna-c33f2424c3941986d402c81d380d4e805870a20f.tar.gz kernel_samsung_tuna-c33f2424c3941986d402c81d380d4e805870a20f.tar.bz2 |
timekeeping: Fix CLOCK_MONOTONIC inconsistency during leapsecond
This is a backport of fad0c66c4bb836d57a5f125ecd38bed653ca863a
which resolves a bug the previous commit.
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>
Link: http://lkml.kernel.org/r/1338400497-12420-1-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions