Commit 6a94c129 authored by Linus Torvalds's avatar Linus Torvalds

Fix broken ppc64 kernel debugger call.

This turned what _should_ have been a nice
easy oops into a nightmare of debugging.

Kernel debuggers suck.
parent 3e5b8391
...@@ -208,7 +208,7 @@ bad_page_fault(struct pt_regs *regs, unsigned long address, int sig) ...@@ -208,7 +208,7 @@ bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)
/* kernel has accessed a bad area */ /* kernel has accessed a bad area */
#ifdef CONFIG_DEBUG_KERNEL #ifdef CONFIG_DEBUG_KERNEL
if (debugger_kernel_faults) if (debugger_kernel_faults && debugger)
debugger(regs); debugger(regs);
#endif #endif
die("Kernel access of bad area", regs, sig); die("Kernel access of bad area", regs, sig);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment