summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/syscall.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-02-21 16:05:11 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-03-21 13:27:46 +0000
commit219ac73a7ad17a3ae3d5c07b4fc8c280645a073a (patch)
treedebe814488e9e36ac0870f2c97af23d229a2570e /arch/mips/kernel/syscall.c
parentb1bcb362d921f5e46a3bec0c7a73c32abfe74db2 (diff)
downloadop-kernel-dev-219ac73a7ad17a3ae3d5c07b4fc8c280645a073a.zip
op-kernel-dev-219ac73a7ad17a3ae3d5c07b4fc8c280645a073a.tar.gz
[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 1da2eeb..55f2bc0 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);
}
OpenPOWER on IntegriCloud