diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-03-01 14:22:29 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:50 -0400 |
commit | fe00f943e0ef98b4057abcc2940d631a975b43cd (patch) | |
tree | c036ab8269ac86485130a083330229a01d319557 /arch/mips/kernel/ptrace.c | |
parent | 14f18b7f7e58de9a34c4b5fd38d5f73f22fba7ac (diff) |
Sparseify MIPS.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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 | ||