alpha: wire up accept4 syscall
authorMichael Cree <mcree@orcon.net.nz>
Tue, 1 Nov 2011 00:09:49 +0000 (17:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:51 +0000 (17:30 -0700)
Somehow wiring up the accept4 syscall on Alpha was missed long ago.
This commit rectifies that oversight.

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 4ac48a0..1fbfd64 100644 (file)
 #define __NR_clock_adjtime             499
 #define __NR_syncfs                    500
 #define __NR_setns                     501
+#define __NR_accept4                   502
 
 #ifdef __KERNEL__
 
-#define NR_SYSCALLS                    502
+#define NR_SYSCALLS                    503
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 6acea1f..53d0ce2 100644 (file)
@@ -520,6 +520,7 @@ sys_call_table:
        .quad sys_clock_adjtime
        .quad sys_syncfs                        /* 500 */
        .quad sys_setns
+       .quad sys_accept4
 
        .size sys_call_table, . - sys_call_table
        .type sys_call_table, @object