mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
Merge branch 'fortglx/3.11/time' of git://git.linaro.org/people/jstultz/linux into timers/urgent
Pull small fix for v3.11 from John Stultz. Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
commit
ae920eb242
@ -121,7 +121,7 @@ void __init setup_sched_clock(u32 (*read)(void), int bits, unsigned long rate)
|
|||||||
BUG_ON(bits > 32);
|
BUG_ON(bits > 32);
|
||||||
WARN_ON(!irqs_disabled());
|
WARN_ON(!irqs_disabled());
|
||||||
read_sched_clock = read;
|
read_sched_clock = read;
|
||||||
sched_clock_mask = (1 << bits) - 1;
|
sched_clock_mask = (1ULL << bits) - 1;
|
||||||
cd.rate = rate;
|
cd.rate = rate;
|
||||||
|
|
||||||
/* calculate the mult/shift to convert counter ticks to ns. */
|
/* calculate the mult/shift to convert counter ticks to ns. */
|
||||||
|
Loading…
Reference in New Issue
Block a user