sched/rt: Use schedule_preempt_disabled()
[linux-3.10.git] / arch / x86 / kernel / process_64.c
index cfa5c90..e34257c 100644 (file)
@@ -156,9 +156,7 @@ void cpu_idle(void)
                }
 
                tick_nohz_idle_exit();
-               preempt_enable_no_resched();
-               schedule();
-               preempt_disable();
+               schedule_preempt_disabled();
        }
 }