aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorMichael Cree <mcree@orcon.net.nz>2011-10-31 20:10:01 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-31 20:30:51 -0400
commita8aff21ecc8c455687c5bb2b98cb04dce3eea7c7 (patch)
treeedf658407bec93df643608062e00645d56a54f98 /arch/alpha
parent0a8c384ebe4cc1c462076732dbffb595e7e81d5c (diff)
alpha: wire up sendmmsg syscall
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>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/include/asm/unistd.h3
-rw-r--r--arch/alpha/kernel/systbls.S1
2 files changed, 3 insertions, 1 deletions
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 @@
458#define __NR_syncfs 500 458#define __NR_syncfs 500
459#define __NR_setns 501 459#define __NR_setns 501
460#define __NR_accept4 502 460#define __NR_accept4 502
461#define __NR_sendmmsg 503
461 462
462#ifdef __KERNEL__ 463#ifdef __KERNEL__
463 464
464#define NR_SYSCALLS 503 465#define NR_SYSCALLS 504
465 466
466#define __ARCH_WANT_IPC_PARSE_VERSION 467#define __ARCH_WANT_IPC_PARSE_VERSION
467#define __ARCH_WANT_OLD_READDIR 468#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:
521 .quad sys_syncfs /* 500 */ 521 .quad sys_syncfs /* 500 */
522 .quad sys_setns 522 .quad sys_setns
523 .quad sys_accept4 523 .quad sys_accept4
524 .quad sys_sendmmsg
524 525
525 .size sys_call_table, . - sys_call_table 526 .size sys_call_table, . - sys_call_table
526 .type sys_call_table, @object 527 .type sys_call_table, @object