sh: wire up accept4 syscall (non-multiplexed path)
authorCarmelo AMOROSO <carmelo.amoroso@st.com>
Mon, 13 Dec 2010 10:20:26 +0000 (10:20 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Dec 2010 08:58:10 +0000 (17:58 +0900)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/unistd_32.h
arch/sh/kernel/syscalls_32.S

index 903cd618eb740606853662d23765a694044e586c..d6741fca89a4f2d42b763d9789c5b81dc574988e 100644 (file)
 #define __NR_sendmsg           355
 #define __NR_recvmsg           356
 #define __NR_recvmmsg          357
+#define __NR_accept4           358
 
-#define NR_syscalls 358
+#define NR_syscalls 359
 
 #ifdef __KERNEL__
 
index e872e81add8a96ed12709964768a699f8a50306d..6fc347ebe59dfe0a356fe4d2d4f31ea52fa69206 100644 (file)
@@ -375,3 +375,4 @@ ENTRY(sys_call_table)
        .long sys_sendmsg               /* 355 */
        .long sys_recvmsg
        .long sys_recvmmsg
+       .long sys_accept4