lkml.org 
[lkml]   [2011]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] alpha: Wire up sendmmsg syscall
Date

Signed-off-by: Michael Cree <mcree@orcon.net.nz>
---
arch/alpha/include/asm/unistd.h | 3 ++-
arch/alpha/kernel/systbls.S | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h
index 1fbfd64..2207fc6 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 b24574f..f3cb4f8 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
--
1.7.4.3


\
 
 \ /
  Last update: 2011-09-26 12:27    [W:0.034 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site