patch-2.1.4 linux/arch/alpha/math-emu/fp-emul.c
Next file: linux/arch/alpha/mm/fault.c
Previous file: linux/arch/alpha/lib/put_user.S
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Sun Oct 13 21:11:09 1996
-  Orig file: 
v2.1.3/linux/arch/alpha/math-emu/fp-emul.c
-  Orig date: 
Fri Apr 12 09:49:30 1996
diff -u --recursive --new-file v2.1.3/linux/arch/alpha/math-emu/fp-emul.c linux/arch/alpha/math-emu/fp-emul.c
@@ -173,7 +173,7 @@
 	unsigned long va, vb, vc, res, fpcr;
 	__u32 insn;
 
-	insn = get_user((__u32*)pc);
+	get_user(insn, (__u32*)pc);
 	fc     = (insn >>  0) &  0x1f;	/* destination register */
 	func   = (insn >>  5) & 0x7ff;
 	fb     = (insn >> 16) &  0x1f;
@@ -338,7 +338,7 @@
 	 * up to the first occurrence of such an instruction.
 	 */
 	while (write_mask) {
-		insn = get_user((__u32*)(trigger_pc));
+		get_user(insn, (__u32*)(trigger_pc));
 		opcode = insn >> 26;
 		rc = insn & 0x1f;
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov