patch-2.1.53 linux/arch/ppc/mm/fault.c

Next file: linux/arch/ppc/mm/init.c
Previous file: linux/arch/ppc/mm/extable.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.52/linux/arch/ppc/mm/fault.c linux/arch/ppc/mm/fault.c
@@ -145,8 +145,8 @@
 	if (xmon_kernel_faults)
 		xmon(regs);
 #endif
-	panic("kernel access of bad area\n pc %lx address %lX tsk %s/%d",
-	      regs->nip,address,current->comm,current->pid);
+	panic("kernel access of bad area pc %lx lr %lx address %lX tsk %s/%d",
+	      regs->nip,regs->link,address,current->comm,current->pid);
 }
 
 unsigned long va_to_phys(unsigned long address)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov