sched/rt: Use schedule_preempt_disabled()
[deliverable/linux.git] / kernel / softirq.c
index 4eb3a0fa351e788297e7d14f0f56cec66d61c1ae..79b524767a24b9f2705f46eeedd3eecdbd33dbb6 100644 (file)
@@ -744,9 +744,7 @@ static int run_ksoftirqd(void * __bind_cpu)
        while (!kthread_should_stop()) {
                preempt_disable();
                if (!local_softirq_pending()) {
-                       preempt_enable_no_resched();
-                       schedule();
-                       preempt_disable();
+                       schedule_preempt_disabled();
                }
 
                __set_current_state(TASK_RUNNING);
This page took 0.02359 seconds and 5 git commands to generate.