Browse Source

sh: wire up accept4 syscall (non-multiplexed path)

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Carmelo AMOROSO 14 years ago
parent
commit
21b6e4c710
2 changed files with 3 additions and 1 deletions
  1. 2 1
      arch/sh/include/asm/unistd_32.h
  2. 1 0
      arch/sh/kernel/syscalls_32.S

+ 2 - 1
arch/sh/include/asm/unistd_32.h

@@ -368,8 +368,9 @@
 #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__
 

+ 1 - 0
arch/sh/kernel/syscalls_32.S

@@ -375,3 +375,4 @@ ENTRY(sys_call_table)
 	.long sys_sendmsg		/* 355 */
 	.long sys_recvmsg
 	.long sys_recvmmsg
+	.long sys_accept4