Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20444
b: refs/heads/master
c: b05de01
h: refs/heads/master
v: v3
  • Loading branch information
Horms authored and Tony Luck committed Feb 15, 2006
1 parent c4ec055 commit b87d492
Show file tree
Hide file tree
Showing 2 changed files with 9 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: defbb2c929cbe89dc92239b303cd33d3c85e9a83
refs/heads/master: b05de01ae1c76b7d61da21bbcc26345bf7a9052f
8 changes: 8 additions & 0 deletions trunk/arch/ia64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <linux/module.h> /* for EXPORT_SYMBOL */
#include <linux/hardirq.h>
#include <linux/kprobes.h>
#include <linux/delay.h> /* for ssleep() */

#include <asm/fpswa.h>
#include <asm/ia32.h>
Expand Down Expand Up @@ -116,6 +117,13 @@ die (const char *str, struct pt_regs *regs, long err)
bust_spinlocks(0);
die.lock_owner = -1;
spin_unlock_irq(&die.lock);

if (panic_on_oops) {
printk(KERN_EMERG "Fatal exception: panic in 5 seconds\n");
ssleep(5);
panic("Fatal exception");
}

do_exit(SIGSEGV);
}

Expand Down

0 comments on commit b87d492

Please sign in to comment.