diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-07-18 16:21:16 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-07-30 11:24:20 -0700 |
commit | a08ca5d1089da03724f96fa0870c64968e66765b (patch) | |
tree | 763e988f9f4d412681f2859bc12370edbfe565de /kernel/sysctl.c | |
parent | 85c3d2dd15be4d577a37ffb8bbbd019fc8e3280a (diff) | |
download | linux-stable-a08ca5d1089da03724f96fa0870c64968e66765b.tar.gz linux-stable-a08ca5d1089da03724f96fa0870c64968e66765b.tar.bz2 linux-stable-a08ca5d1089da03724f96fa0870c64968e66765b.zip |
sched_clock: Use an hrtimer instead of timer
In the next patch we're going to increase the number of bits that
the generic sched_clock can handle to be greater than 32. With
more than 32 bits the wraparound time can be larger than what can
fit into the units that msecs_to_jiffies takes (unsigned int).
Luckily, the wraparound is initially calculated in nanoseconds
which we can easily use with hrtimers, so switch to using an
hrtimer.
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
[jstultz: Fixup hrtimer intitialization order issue]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions