From: Anton Blanchard Date: Tue, 11 Jan 2011 19:47:20 +0000 (+0000) Subject: powerpc: Remove duplicate debugger hook in machine_check_exception X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dfb5509f8f49ffd52922060c830978ed5a9b9731;p=linux-beck.git 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 Signed-off-by: Benjamin Herrenschmidt --- 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) 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 */