patch-2.4.22 linux-2.4.22/arch/sparc/kernel/sys_sparc.c
Next file: linux-2.4.22/arch/sparc64/boot/Makefile
Previous file: linux-2.4.22/arch/sparc/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/sparc/kernel/sys_sparc.c
- Orig date:
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.21/arch/sparc/kernel/sys_sparc.c linux-2.4.22/arch/sparc/kernel/sys_sparc.c
@@ -123,7 +123,10 @@
if (call <= SEMCTL)
switch (call) {
case SEMOP:
- err = sys_semop (first, (struct sembuf *)ptr, second);
+ err = sys_semtimedop (first, (struct sembuf *)ptr, second, NULL);
+ goto out;
+ case SEMTIMEDOP:
+ err = sys_semtimedop (first, (struct sembuf *)ptr, second, (const struct timespec *) fifth);
goto out;
case SEMGET:
err = sys_semget (first, second, third);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)