From: Stephen Boyd Date: Thu, 18 Jul 2013 23:21:16 +0000 (-0700) Subject: sched_clock: Use an hrtimer instead of timer X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~39^2~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a08ca5d1089da03724f96fa0870c64968e66765b;p=pandora-kernel.git 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 Signed-off-by: Stephen Boyd [jstultz: Fixup hrtimer intitialization order issue] Signed-off-by: John Stultz --- Reading git-diff-tree failed