Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56919
b: refs/heads/master
c: 98d8256
h: refs/heads/master
i:
  56917: a391c41
  56915: 717fa67
  56911: f60716b
v: v3
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed May 24, 2007
1 parent 3e43cd3 commit 6243437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40acc095302aee380491df5f58d98945243468ec
refs/heads/master: 98d8256739f2c6c636fa2da359f5949c739ae839
4 changes: 1 addition & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4775,9 +4775,7 @@ int __sched cond_resched_softirq(void)
BUG_ON(!in_softirq());

if (need_resched() && system_state == SYSTEM_RUNNING) {
raw_local_irq_disable();
_local_bh_enable();
raw_local_irq_enable();
local_bh_enable();
__cond_resched();
local_bh_disable();
return 1;
Expand Down

0 comments on commit 6243437

Please sign in to comment.