Skip to content

Commit

Permalink
powerpc: Remove duplicate debugger hook in machine_check_exception
Browse files Browse the repository at this point in the history
We are calling debugger_fault_handler twice in machine_check_exception.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Jan 21, 2011
1 parent 3f9793e commit dfb5509
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,6 @@ void machine_check_exception(struct pt_regs *regs)
if (check_io_access(regs))
return;

if (debugger_fault_handler(regs))
return;
die("Machine check", regs, SIGBUS);

/* Must die if the interrupt is not recoverable */
Expand Down

0 comments on commit dfb5509

Please sign in to comment.