hrtimer: fix timerqueue conversion flub
authorJohn Stultz <john.stultz@linaro.org>
Sat, 11 Dec 2010 06:19:53 +0000 (22:19 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Sat, 11 Dec 2010 06:19:53 +0000 (22:19 -0800)
commitb007c389d3e09b823eccda1503390fa2a9adca0d
tree34431af3282f6b3892e092cc77b507a92a66724e
parent998adc3dda59f811966b3ccb21eb223680b25ec4
hrtimer: fix timerqueue conversion flub

In converting the hrtimers to timerqueue, I missed
a spot in hrtimer_run_queues where we loop running
timers. We end up not pulling the new next value out
and instead just use the last next value, causing
boot time hangs in some cases.

The proper fix is to pull timerqueue_getnext each iteration
instead of using a local next value.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/hrtimer.c