From: Michael Cree Date: Mon, 24 Oct 2011 14:58:32 +0000 (+1100) Subject: alpha: wire up accept4 syscall X-Git-Tag: next-20111025~2^2~160 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a06778af2956c4a2399b4c908046c482c3742c8a;p=karo-tx-linux.git alpha: wire up accept4 syscall Somehow wiring up the accept4 syscall on Alpha was missed long ago. This commit rectifies that oversight. Signed-off-by: Michael Cree Reviewed-by: Matt Turner Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton --- diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index 4ac48a095f3a..1fbfd6450a31 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h @@ -457,10 +457,11 @@ #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 diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S index 6acea1f96de3..53d0ce2d304c 100644 --- a/arch/alpha/kernel/systbls.S +++ b/arch/alpha/kernel/systbls.S @@ -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