Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-13 05:09:01 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-13 05:09:01 -0800
commit6a94c129958d0020226f667874a9378516c5eb58 (patch)
tree0a964b869f324f558bbf0b6223d8a6ab47f65489
parent3e5b8391d5324111b1da9b65f8864e93b8adc975 (diff)
Fix broken ppc64 kernel debugger call.
This turned what _should_ have been a nice easy oops into a nightmare of debugging. Kernel debuggers suck.
-rw-r--r--arch/ppc64/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/mm/fault.c b/arch/ppc64/mm/fault.c
index cbb08188762c..64e1a9852e96 100644
--- a/arch/ppc64/mm/fault.c
+++ b/arch/ppc64/mm/fault.c
@@ -208,7 +208,7 @@ bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)
/* kernel has accessed a bad area */
#ifdef CONFIG_DEBUG_KERNEL
- if (debugger_kernel_faults)
+ if (debugger_kernel_faults && debugger)
debugger(regs);
#endif
die("Kernel access of bad area", regs, sig);