]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
alpha: wire up accept4 syscall
authorMichael Cree <mcree@orcon.net.nz>
Mon, 24 Oct 2011 14:58:32 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:07:53 +0000 (20:07 +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 <akpm@linux-foundation.org>
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