diff options
| author | John Stultz <[email protected]> | 2015-02-05 00:45:26 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-02-05 07:39:37 +0000 |
| commit | 2d926c15d629a13914ce3e5f26354f6a0ac99e70 (patch) | |
| tree | 994bad6dd380a02a39e0c3aecab87f862de8bc5e /fs/ubifs/commit.c | |
| parent | Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/r... (diff) | |
| download | kernel-2d926c15d629a13914ce3e5f26354f6a0ac99e70.tar.gz kernel-2d926c15d629a13914ce3e5f26354f6a0ac99e70.zip | |
hrtimer: Fix incorrect tai offset calculation for non high-res timer systems
I noticed some CLOCK_TAI timer test failures on one of my
less-frequently used configurations. And after digging in I
found in 76f4108892d9 (Cleanup hrtimer accessors to the
timekepeing state), the hrtimer_get_softirq_time tai offset
calucation was incorrectly rewritten, as the tai offset we
return shold be from CLOCK_MONOTONIC, and not CLOCK_REALTIME.
This results in CLOCK_TAI timers expiring early on non-highres
capable machines.
This patch fixes the issue, calculating the tai time properly
from the monotonic base.
Signed-off-by: John Stultz <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: stable <[email protected]> # 3.17+
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
