summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/syscall.c
diff options
context:
space:
mode:
authorAtsushi Nemoto2006-02-21 08:05:11 +0100
committerRalf Baechle2006-03-21 14:27:46 +0100
commit219ac73a7ad17a3ae3d5c07b4fc8c280645a073a (patch)
treedebe814488e9e36ac0870f2c97af23d229a2570e /arch/mips/kernel/syscall.c
parent[MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend (diff)
downloadkernel-qcow2-linux-219ac73a7ad17a3ae3d5c07b4fc8c280645a073a.tar.gz
kernel-qcow2-linux-219ac73a7ad17a3ae3d5c07b4fc8c280645a073a.tar.xz
kernel-qcow2-linux-219ac73a7ad17a3ae3d5c07b4fc8c280645a073a.zip
[MIPS] Further sparsification for 32-bit compat code.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/syscall.c')
-rw-r--r--arch/mips/kernel/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c
index 1da2eeb3ef9e..55f2bc09529c 100644
--- a/arch/mips/kernel/syscall.c
+++ b/arch/mips/kernel/syscall.c
@@ -345,7 +345,7 @@ asmlinkage int sys_ipc (uint call, int first, int second,
union semun fourth;
if (!ptr)
return -EINVAL;
- if (get_user(fourth.__pad, (void *__user *) ptr))
+ if (get_user(fourth.__pad, (void __user *__user *) ptr))
return -EFAULT;
return sys_semctl (first, second, third, fourth);
}