aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-01-11 14:47:20 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-01-20 22:08:37 -0500
commitdfb5509f8f49ffd52922060c830978ed5a9b9731 (patch)
tree591b6af536f59ce5aa1909624b93d9f0c8b514d9 /arch/powerpc/kernel/traps.c
parent3f9793e6b66efcf196974ee4f0d62de6282eb41b (diff)
powerpc: Remove duplicate debugger hook in machine_check_exception
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>
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r--arch/powerpc/kernel/traps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 6865002df6ce..9e24224962d9 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -648,8 +648,6 @@ void machine_check_exception(struct pt_regs *regs)
648 if (check_io_access(regs)) 648 if (check_io_access(regs))
649 return; 649 return;
650 650
651 if (debugger_fault_handler(regs))
652 return;
653 die("Machine check", regs, SIGBUS); 651 die("Machine check", regs, SIGBUS);
654 652
655 /* Must die if the interrupt is not recoverable */ 653 /* Must die if the interrupt is not recoverable */