patch-2.4.4 linux/arch/s390/kernel/ptrace.c
Next file: linux/arch/s390/kernel/s390_ext.c
Previous file: linux/arch/s390/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Apr 11 19:02:28 2001
- Orig file:
v2.4.3/linux/arch/s390/kernel/ptrace.c
- Orig date:
Tue Feb 13 14:13:43 2001
diff -u --recursive --new-file v2.4.3/linux/arch/s390/kernel/ptrace.c linux/arch/s390/kernel/ptrace.c
@@ -180,9 +180,9 @@
copymax=(PT_FPR15_LO+4);
realuseraddr=(addr_t)&(((u8 *)&task->thread.fp_regs)[useraddr-PT_FPC]);
}
- else if(useraddr<sizeof(user_regs_struct))
+ else if(useraddr<sizeof(struct user_regs_struct))
{
- copymax=sizeof(user_regs_struct);
+ copymax=sizeof(struct user_regs_struct);
realuseraddr=(addr_t)&(((u8 *)&task->thread.per_info)[useraddr-PT_CR_9]);
}
else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)