]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Remove duplicate debugger hook in machine_check_exception
authorAnton Blanchard <anton@samba.org>
Tue, 11 Jan 2011 19:47:20 +0000 (19:47 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:37 +0000 (14:08 +1100)
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>
arch/powerpc/kernel/traps.c

index 6865002df6ce950c5d9eb63b7f92a7e0dc95d4cb..9e24224962d935b5ddf1cbdedeeb8052ecc94274 100644 (file)
@@ -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 */