patch-2.1.132 linux/arch/arm/mm/fault-armo.c

Next file: linux/arch/arm/mm/fault-armv.c
Previous file: linux/arch/arm/lib/io-ebsa285.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/arch/arm/mm/fault-armo.c linux/arch/arm/mm/fault-armo.c
@@ -174,7 +174,7 @@
 	}
 
 	/* Are we prepared to handle this kernel fault?  */
-	if ((fixup = search_exception_table(regs->ARM_pc)) != 0) {
+	if ((fixup = search_exception_table(instruction_pointer(regs))) != 0) {
 		printk(KERN_DEBUG "%s: Exception at [<%lx>] addr=%lx (fixup: %lx)\n",
 			tsk->comm, regs->ARM_pc, addr, fixup);
 		regs->ARM_pc = fixup;

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