patch-2.4.7 linux/arch/mips64/kernel/traps.c

Next file: linux/arch/mips64/kernel/unaligned.c
Previous file: linux/arch/mips64/kernel/smp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/arch/mips64/kernel/traps.c linux/arch/mips64/kernel/traps.c
@@ -264,7 +264,7 @@
 
 	epc = (unsigned int *) (unsigned long) regs->cp0_epc;
 	if (regs->cp0_cause & CAUSEF_BD)
-		epc += 4;
+		epc++;
 
 	if (verify_area(VERIFY_READ, epc, 4)) {
 		force_sig(SIGSEGV, current);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)