patch-2.3.99-pre2 linux/arch/alpha/kernel/traps.c

Next file: linux/arch/arm/Makefile
Previous file: linux/arch/alpha/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre1/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -215,10 +215,8 @@
 			/* EV4 does not implement anything except normal
 			   rounding.  Everything else will come here as
 			   an illegal instruction.  Emulate them.  */
-			if (alpha_fp_emul(regs.pc)) {
-				regs.pc += 4;
+			if (alpha_fp_emul(regs.pc-4))
 				return;
-			}
 		}
 		send_sig(SIGILL, current, 1);
 		break;

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