This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] fix semtimedop for MIPS n32/n64
- From: "Ilya A. Volynets-Evenbakh" <ilya at theilya dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com, kumba at gentoo dot org
- Date: Fri, 14 May 2004 11:51:41 -0700
- Subject: Re: [PATCH] fix semtimedop for MIPS n32/n64
- References: <200404292014.i3TKENLN026007@magilla.sf.frob.com>
Thanks Roland,
New patch attached.
Roland McGrath wrote:
Linux/MIPS kernel doesn't have n32/n64 version of SYS_ipc syscall.
Each SysV IPC operation has its own syscall instead.
Attached patch adds n32/n64 - specific version of semtimedop
based on this.
You can do that just with entries in the syscalls.list file.
2004-04-29Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop
Index: sysdeps/unix/sysv/linux/mips/mips64/syscalls.list
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/mips/mips64/syscalls.list,v
retrieving revision 1.2
diff -u -r1.2 syscalls.list
--- sysdeps/unix/sysv/linux/mips/mips64/syscalls.list 3 Sep 2003 03:16:25 -0000 1.2
+++ sysdeps/unix/sysv/linux/mips/mips64/syscalls.list 14 May 2004 05:32:37 -0000
@@ -18,3 +18,4 @@
semop - semop i:ipi __semop semop
semget - semget i:iii __semget semget
semctl - semctl i:iiii __semctl semctl
+semtimedop - semtimedop i:ipip semtimedop