patch-2.1.4 linux/arch/alpha/kernel/traps.c
Next file: linux/arch/alpha/lib/Makefile
Previous file: linux/arch/alpha/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Oct 15 09:46:40 1996
- Orig file:
v2.1.3/linux/arch/alpha/kernel/traps.c
- Orig date:
Sun May 19 17:02:31 1996
diff -u --recursive --new-file v2.1.3/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -135,7 +135,8 @@
unsigned int opcode;
/* get opcode of faulting instruction: */
- opcode = get_user((__u32*)(regs.pc - 4)) >> 26;
+ get_user(opcode, (__u32*)(regs.pc - 4));
+ opcode >>= 26;
if (opcode == 0x16) {
/*
* It's a FLTI instruction, emulate it
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov