Thread (10 messages) 10 messages, 1 author, 2011-01-12

[PATCH 4/9] powerpc: Remove duplicate debugger hook in machine_check_exception

flat view
STALE5769d

From: Anton Blanchard <hidden>
Date: 2011-01-12 05:47:20
Subsystem: the rest · Maintainer: Linus Torvalds

We are calling debugger_fault_handler twice in machine_check_exception.

Signed-off-by: Anton Blanchard <redacted>
---

Index: powerpc.git/arch/powerpc/kernel/traps.c
===================================================================
--- powerpc.git.orig/arch/powerpc/kernel/traps.c	2011-01-11 13:46:42.601133580 +1100
+++ powerpc.git/arch/powerpc/kernel/traps.c	2011-01-11 13:46:47.391281975 +1100
@@ -648,8 +648,6 @@ void machine_check_exception(struct pt_r
 	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 */
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help