From 495bde4afdd030153af5edd0093d861806c59b8c Mon Sep 17 00:00:00 2001 From: Michael Cree Date: Wed, 5 Oct 2011 11:43:17 +1100 Subject: [PATCH] alpha: wire up sendmmsg syscall Signed-off-by: Michael Cree Reviewed-by: Matt Turner Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton --- arch/alpha/include/asm/unistd.h | 3 ++- arch/alpha/kernel/systbls.S | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index 1fbfd6450a31..2207fc61665d 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h @@ -458,10 +458,11 @@ #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 diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S index 53d0ce2d304c..e534e1c5bc11 100644 --- a/arch/alpha/kernel/systbls.S +++ b/arch/alpha/kernel/systbls.S @@ -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 -- 2.39.5