projects
/
h-e-n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] lockdep: irqtrace subsystem, core
[h-e-n]
/
kernel
/
sched.c
diff --git
a/kernel/sched.c
b/kernel/sched.c
index
48c1faa
..
9118299
100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-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;