diff options
author | John Stultz <john.stultz@linaro.org> | 2013-12-11 01:13:35 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 21:50:26 (GMT) |
commit | aaa5ad29bc420c04cb0df5e4d6876aa32096b7d0 (patch) | |
tree | ff7f61c7c8e58cd29d88208f40ae2d879e9edfa6 /drivers/rtc | |
parent | e14bada985c4af6d192413ad72dc35758cffe286 (diff) | |
download | linux-fsl-qoriq-aaa5ad29bc420c04cb0df5e4d6876aa32096b7d0.tar.xz |
timekeeping: Fix CLOCK_TAI timer/nanosleep delays
commit 04005f6011e3b504cd4d791d9769f7cb9a3b2eae upstream.
A think-o in the calculation of the monotonic -> tai time offset
results in CLOCK_TAI timers and nanosleeps to expire late (the
latency is ~2x the tai offset).
Fix this by adding the tai offset from the realtime offset instead
of subtracting.
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions