patch-2.4.10 linux/arch/mips64/kernel/linux32.c
Next file: linux/arch/mips64/kernel/mips64_ksyms.c
Previous file: linux/arch/mips64/kernel/ioctl32.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sun Sep 9 10:43:01 2001
- Orig file:
v2.4.9/linux/arch/mips64/kernel/linux32.c
- Orig date:
Wed Jul 25 17:10:18 2001
diff -u --recursive --new-file v2.4.9/linux/arch/mips64/kernel/linux32.c linux/arch/mips64/kernel/linux32.c
@@ -1538,11 +1538,11 @@
err = -EFAULT;
if (get_user (pad, (u32 *)uptr))
return err;
- if(third == SETVAL)
+ if ((third & ~IPC_64) == SETVAL)
fourth.val = (int)pad;
else
fourth.__pad = (void *)A(pad);
- switch (third) {
+ switch (third & ~IPC_64) {
case IPC_INFO:
case IPC_RMID:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)