diff options
-rw-r--r-- | arch/parisc/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c index 03920db4af45..2905b1f52d30 100644 --- a/arch/parisc/kernel/ptrace.c +++ b/arch/parisc/kernel/ptrace.c | |||
@@ -125,7 +125,7 @@ long arch_ptrace(struct task_struct *child, long request, | |||
125 | addr >= sizeof(struct pt_regs)) | 125 | addr >= sizeof(struct pt_regs)) |
126 | break; | 126 | break; |
127 | tmp = *(unsigned long *) ((char *) task_regs(child) + addr); | 127 | tmp = *(unsigned long *) ((char *) task_regs(child) + addr); |
128 | ret = put_user(tmp, (unsigned long *) data); | 128 | ret = put_user(tmp, (unsigned long __user *) data); |
129 | break; | 129 | break; |
130 | 130 | ||
131 | /* Write the word at location addr in the USER area. This will need | 131 | /* Write the word at location addr in the USER area. This will need |