Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30803
b: refs/heads/master
c: 66e5393
h: refs/heads/master
i:
  30801: e2fefc4
  30799: 1b35455
v: v3
  • Loading branch information
Steven Rostedt authored and Linus Torvalds committed Jun 28, 2006
1 parent d1a0177 commit 4995774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9fea80e4d984d411aa188baa31225c273ebe0fe6
refs/heads/master: 66e5393a78b3fcca63e7748e38221dcca61c4aab
2 changes: 2 additions & 0 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3862,6 +3862,8 @@ int sched_setscheduler(struct task_struct *p, int policy,
unsigned long flags;
runqueue_t *rq;

/* may grab non-irq protected spin_locks */
BUG_ON(in_interrupt());
recheck:
/* double check policy once rq lock held */
if (policy < 0)
Expand Down

0 comments on commit 4995774

Please sign in to comment.