mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[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>
This commit is contained in:
parent
b1bcb362d9
commit
219ac73a7a
3 changed files with 92 additions and 88 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue