linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH (sh-2.6)] sh: wire up accept4 syscall (non-multiplexed path)
@ 2010-12-13 10:20 Carmelo AMOROSO
  2010-12-14  8:53 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Carmelo AMOROSO @ 2010-12-13 10:20 UTC (permalink / raw)
  To: linux-sh

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
---
 arch/sh/include/asm/unistd_32.h |    3 ++-
 arch/sh/kernel/syscalls_32.S    |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/sh/include/asm/unistd_32.h b/arch/sh/include/asm/unistd_32.h
index 903cd61..d6741fc 100644
--- a/arch/sh/include/asm/unistd_32.h
+++ b/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__
 
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S
index e872e81..6fc347e 100644
--- a/arch/sh/kernel/syscalls_32.S
+++ b/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
-- 
1.5.5.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-14  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 10:20 [PATCH (sh-2.6)] sh: wire up accept4 syscall (non-multiplexed path) Carmelo AMOROSO
2010-12-14  8:53 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).