nohz: prevent tick stop outside of the idle loop
[linux-2.6.git] / arch / arm / kernel / process.c
index 46bf2ed..84f5a4c 100644 (file)
@@ -164,7 +164,7 @@ void cpu_idle(void)
                if (!idle)
                        idle = default_idle;
                leds_event(led_idle_start);
-               tick_nohz_stop_sched_tick();
+               tick_nohz_stop_sched_tick(1);
                while (!need_resched())
                        idle();
                leds_event(led_idle_end);