From: John Stultz Date: Wed, 11 Dec 2013 01:13:35 +0000 (-0800) Subject: timekeeping: Fix CLOCK_TAI timer/nanosleep delays X-Git-Tag: v3.14-rc1~169^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04005f6011e3b504cd4d791d9769f7cb9a3b2eae;p=pandora-kernel.git 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 Cc: Thomas Gleixner Cc: Prarit Bhargava Cc: Richard Cochran Cc: Ingo Molnar Cc: stable #3.10+ Signed-off-by: John Stultz --- Reading git-diff-tree failed