]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
alpha: wire up accept4 syscall
authorMichael Cree <mcree@orcon.net.nz>
Wed, 28 Sep 2011 00:50:27 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:40 +0000 (18:38 +1100)
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 <>
arch/alpha/include/asm/unistd.h
arch/alpha/kernel/systbls.S

index 4ac48a095f3ace676d7f4651dedf21a84da9249b..1fbfd6450a3171c44314f9b94bb7230f19ca5970 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 6acea1f96de394d05ef0e13dbea2a29d85a7e0ee..53d0ce2d304cae11057fb3c28c2f18e6a21374a5 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