sched/rt: Use schedule_preempt_disabled()
[linux-3.10.git] / arch / m32r / kernel / process.c
index 422bea9..3a4a32b 100644 (file)
@@ -90,9 +90,7 @@ void cpu_idle (void)
 
                        idle();
                }
-               preempt_enable_no_resched();
-               schedule();
-               preempt_disable();
+               schedule_preempt_disabled();
        }
 }