patch-2.1.101 linux/arch/mips/kernel/ipc.c
Next file: linux/arch/mips/kernel/irix5sys.h
Previous file: linux/arch/mips/kernel/init_task.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri May 8 00:13:23 1998
- Orig file:
v2.1.100/linux/arch/mips/kernel/ipc.c
- Orig date:
Thu Jun 26 12:33:37 1997
diff -u --recursive --new-file v2.1.100/linux/arch/mips/kernel/ipc.c linux/arch/mips/kernel/ipc.c
@@ -101,7 +101,7 @@
}
case 1: /* iBCS2 emulator entry point */
ret = -EINVAL;
- if (get_fs() != get_ds())
+ if (!segment_eq(get_fs(), get_ds()))
goto out;
ret = sys_shmat (first, (char *) ptr, second, (ulong *) third);
goto out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov