Skip to content

Commit ae920eb

Browse files
committed
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>
2 parents 365d8c0 + 53c0352 commit ae920eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/time/sched_clock.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void __init setup_sched_clock(u32 (*read)(void), int bits, unsigned long rate)
121121
BUG_ON(bits > 32);
122122
WARN_ON(!irqs_disabled());
123123
read_sched_clock = read;
124-
sched_clock_mask = (1 << bits) - 1;
124+
sched_clock_mask = (1ULL << bits) - 1;
125125
cd.rate = rate;
126126

127127
/* calculate the mult/shift to convert counter ticks to ns. */

0 commit comments

Comments
 (0)