nohz: prevent tick stop outside of the idle loop
[linux-2.6.git] / arch / x86 / kernel / process_64.c
index e2319f3..c0a5c2a 100644 (file)
@@ -148,7 +148,7 @@ void cpu_idle(void)
        current_thread_info()->status |= TS_POLLING;
        /* endless idle loop with no priority at all */
        while (1) {
-               tick_nohz_stop_sched_tick();
+               tick_nohz_stop_sched_tick(1);
                while (!need_resched()) {
                        void (*idle)(void);