alpha: wire up sendmmsg syscall
authorMichael Cree <mcree@orcon.net.nz>
Tue, 1 Nov 2011 00:10:01 +0000 (17:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:51 +0000 (17:30 -0700)
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/include/asm/unistd.h
arch/alpha/kernel/systbls.S

index 1fbfd6450a3171c44314f9b94bb7230f19ca5970..2207fc61665d0526a03940d26d3c282240af58d6 100644 (file)
 #define __NR_syncfs                    500
 #define __NR_setns                     501
 #define __NR_accept4                   502
+#define __NR_sendmmsg                  503
 
 #ifdef __KERNEL__
 
-#define NR_SYSCALLS                    503
+#define NR_SYSCALLS                    504
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 53d0ce2d304cae11057fb3c28c2f18e6a21374a5..e534e1c5bc11302327ba04825f906c3060bfb2e1 100644 (file)
@@ -521,6 +521,7 @@ sys_call_table:
        .quad sys_syncfs                        /* 500 */
        .quad sys_setns
        .quad sys_accept4
+       .quad sys_sendmmsg
 
        .size sys_call_table, . - sys_call_table
        .type sys_call_table, @object