[LV] [PATCH] Wire up POSIX message queue calls
Maciej W. Rozycki
macro at linux-mips.org
Sat Oct 24 00:03:15 CEST 2009
Wire up POSIX message queue calls. Needed by librt.
Signed-off-by: Maciej W. Rozycki <macro at linux-mips.org>
---
Hi,
This patch should be obvious, please apply.
Maciej
patch-mips-2.6.25-20080422-vax-posix-mq-0
Index: linux-mips-2.6.18-20060920-cougar/arch/vax/kernel/syscall.c
===================================================================
--- linux-mips-2.6.18-20060920-cougar.orig/arch/vax/kernel/syscall.c
+++ linux-mips-2.6.18-20060920-cougar/arch/vax/kernel/syscall.c
@@ -289,6 +289,12 @@ static struct {
SC (__NR_clock_gettime, sys_clock_gettime, 2),
SC (__NR_clock_getres, sys_clock_getres, 2),
SC (__NR_clock_nanosleep, sys_clock_nanosleep, 4),
+ SC (__NR_mq_open, sys_mq_open, 4),
+ SC (__NR_mq_unlink, sys_mq_unlink, 1),
+ SC (__NR_mq_timedsend, sys_mq_timedsend, 5),
+ SC (__NR_mq_timedreceive, sys_mq_timedreceive, 5),
+ SC (__NR_mq_notify, sys_mq_notify, 2),
+ SC (__NR_mq_getsetattr, sys_mq_getsetattr, 3)
#undef SC
};
Index: linux-mips-2.6.18-20060920-cougar/include/asm-vax/unistd.h
===================================================================
--- linux-mips-2.6.18-20060920-cougar.orig/include/asm-vax/unistd.h
+++ linux-mips-2.6.18-20060920-cougar/include/asm-vax/unistd.h
@@ -274,8 +274,14 @@
#define __NR_clock_gettime 250
#define __NR_clock_getres 251
#define __NR_clock_nanosleep 252
+#define __NR_mq_open 253
+#define __NR_mq_unlink 254
+#define __NR_mq_timedsend 255
+#define __NR_mq_timedreceive 256
+#define __NR_mq_notify 257
+#define __NR_mq_getsetattr 258
-#define __NR_last_syscall 252 /* Number of last syscall */
+#define __NR_last_syscall 258 /* Number of last syscall */
_______________________________________________
Linux-Vax mailing list
Linux-Vax at mail.pergamentum.com
http://mail.pergamentum.com/mailman/listinfo/linux-vax
More information about the Vax-linux
mailing list