diff options
Diffstat (limited to 'arch/mips/kernel/ptrace.c')
-rw-r--r-- | arch/mips/kernel/ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index 0b571a5b4b83..2c7fc7472fb2 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c | |||
@@ -103,7 +103,7 @@ asmlinkage int sys_ptrace(long request, long pid, long addr, long data) | |||
103 | ret = -EIO; | 103 | ret = -EIO; |
104 | if (copied != sizeof(tmp)) | 104 | if (copied != sizeof(tmp)) |
105 | break; | 105 | break; |
106 | ret = put_user(tmp,(unsigned long *) data); | 106 | ret = put_user(tmp,(unsigned long __user *) data); |
107 | break; | 107 | break; |
108 | } | 108 | } |
109 | 109 | ||
@@ -180,7 +180,7 @@ asmlinkage int sys_ptrace(long request, long pid, long addr, long data) | |||
180 | ret = -EIO; | 180 | ret = -EIO; |
181 | goto out_tsk; | 181 | goto out_tsk; |
182 | } | 182 | } |
183 | ret = put_user(tmp, (unsigned long *) data); | 183 | ret = put_user(tmp, (unsigned long __user *) data); |
184 | break; | 184 | break; |
185 | } | 185 | } |
186 | 186 | ||