Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277412
b: refs/heads/master
c: 664dfa6
h: refs/heads/master
v: v3
  • Loading branch information
Dave Jones authored and Ingo Molnar committed Dec 23, 2011
1 parent 6570b11 commit a08f384
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 62af3783e4fd8ba9e28416e8e91cb3bdd9fb133e
refs/heads/master: 664dfa65e84429d0b68694483e1de7365c7c56fb
3 changes: 3 additions & 0 deletions trunk/kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3077,6 +3077,9 @@ static noinline void __schedule_bug(struct task_struct *prev)
{
struct pt_regs *regs = get_irq_regs();

if (oops_in_progress)
return;

printk(KERN_ERR "BUG: scheduling while atomic: %s/%d/0x%08x\n",
prev->comm, prev->pid, preempt_count());

Expand Down

0 comments on commit a08f384

Please sign in to comment.