[PATCH] lockdep: irqtrace subsystem, core
[h-e-n] / kernel / sched.c
index 48c1faa..9118299 100644 (file)
@@ -4462,7 +4462,9 @@ int __sched cond_resched_softirq(void)
        BUG_ON(!in_softirq());
 
        if (need_resched() && __resched_legal()) {
-               __local_bh_enable();
+               raw_local_irq_disable();
+               _local_bh_enable();
+               raw_local_irq_enable();
                __cond_resched();
                local_bh_disable();
                return 1;