patch-2.1.29 linux/arch/sparc/kernel/ptrace.c
Next file: linux/arch/sparc/kernel/rtrap.S
Previous file: linux/arch/sparc/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Mar 5 17:04:30 1997
- Orig file:
v2.1.28/linux/arch/sparc/kernel/ptrace.c
- Orig date:
Sun Jan 26 02:07:06 1997
diff -u --recursive --new-file v2.1.28/linux/arch/sparc/kernel/ptrace.c linux/arch/sparc/kernel/ptrace.c
@@ -741,7 +741,7 @@
pt_error_return(regs, -i);
goto out;
}
- copy_from_user(&child->tss.float_regs[0], &fps->regs[0], (32 * 4));
+ copy_from_user(&child->tss.float_regs[0], &fps->regs[0], (32 * sizeof(unsigned long)));
__get_user(child->tss.fsr, (&fps->fsr));
__get_user(child->tss.fpqdepth, (&fps->fpqd));
for(i = 0; i < 16; i++) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov