diff options
author | John Stultz <john.stultz@linaro.org> | 2013-12-10 17:13:35 -0800 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-12-23 11:54:34 -0800 |
commit | 04005f6011e3b504cd4d791d9769f7cb9a3b2eae (patch) | |
tree | 9d2d3283a854a9dca0cee332069679818f674963 /kernel/trace/trace_selftest.c | |
parent | 47a1b796306356f358e515149d86baf0cc6bf007 (diff) | |
download | op-kernel-dev-04005f6011e3b504cd4d791d9769f7cb9a3b2eae.zip op-kernel-dev-04005f6011e3b504cd4d791d9769f7cb9a3b2eae.tar.gz |
timekeeping: Fix CLOCK_TAI timer/nanosleep delays
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>
Cc: stable <stable@vger.kernel.org> #3.10+
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/trace/trace_selftest.c')
0 files changed, 0 insertions, 0 deletions