Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35896
b: refs/heads/master
c: abf0f10
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Andi Kleen committed Sep 26, 2006
1 parent d2b73b4 commit 199c8a5
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: e07e23e1fd3000289fc7ccc6c71879070d3b19e0
refs/heads/master: abf0f10948b316b577851ef21c728341f1046552
3 changes: 3 additions & 0 deletions trunk/arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ unsigned __kprobes long oops_begin(void)
int cpu = safe_smp_processor_id();
unsigned long flags;

oops_enter();

/* racy, but better than risking deadlock. */
local_irq_save(flags);
if (!spin_trylock(&die_lock)) {
Expand Down Expand Up @@ -589,6 +591,7 @@ void __kprobes oops_end(unsigned long flags)
spin_unlock_irqrestore(&die_lock, flags);
if (panic_on_oops)
panic("Fatal exception");
oops_exit();
}

void __kprobes __die(const char * str, struct pt_regs * regs, long err)
Expand Down

0 comments on commit 199c8a5

Please sign in to comment.