sched/rt: Use schedule_preempt_disabled()
[linux-3.10.git] / arch / tile / kernel / process.c
index 4c1ac6e..6ae495e 100644 (file)
@@ -108,9 +108,7 @@ void cpu_idle(void)
                }
                rcu_idle_exit();
                tick_nohz_idle_exit();
-               preempt_enable_no_resched();
-               schedule();
-               preempt_disable();
+               schedule_preempt_disabled();
        }
 }