Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284425
b: refs/heads/master
c: 6e6f0a1
h: refs/heads/master
i:
  284423: 5a60ece
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jan 13, 2012
1 parent bc5af5c commit a867692
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: b8f566b04d3cddd192cfd2418ae6d54ac6353792
refs/heads/master: 6e6f0a1f0fa6bba1493c296eb30d1e176e1f8530
6 changes: 5 additions & 1 deletion trunk/kernel/panic.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ void panic(const char *fmt, ...)
va_end(args);
printk(KERN_EMERG "Kernel panic - not syncing: %s\n",buf);
#ifdef CONFIG_DEBUG_BUGVERBOSE
dump_stack();
/*
* Avoid nested stack-dumping if a panic occurs during oops processing
*/
if (!oops_in_progress)
dump_stack();
#endif

/*
Expand Down

0 comments on commit a867692

Please sign in to comment.