summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/unistd_64.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-19 17:00:31 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-19 17:00:31 +0900
commit79f211b8e17205aae0304c58518fbc58506e52e3 (patch)
treecf4227655998956a2a57646bef700bbd27bf308e /arch/sh/include/asm/unistd_64.h
parent6eacb2c4cba4c84c2aee13f416cd476777e8400a (diff)
downloadlinux-stable-79f211b8e17205aae0304c58518fbc58506e52e3.tar.gz
linux-stable-79f211b8e17205aae0304c58518fbc58506e52e3.tar.bz2
linux-stable-79f211b8e17205aae0304c58518fbc58506e52e3.zip
sh64: wire up sys_accept4.
sh64 on the other hand provides both direct broken out syscalls as well as socketcall access. As there are binaries that use both socketcall has to stay around. The current ABI prefers direct syscalls. It was pointed out that when sys_recvmmsg was added in, sys_accept4 was overlooked. This takes care of wiring it up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/unistd_64.h')
-rw-r--r--arch/sh/include/asm/unistd_64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/include/asm/unistd_64.h b/arch/sh/include/asm/unistd_64.h
index 3e7645d11130..25de158aac3a 100644
--- a/arch/sh/include/asm/unistd_64.h
+++ b/arch/sh/include/asm/unistd_64.h
@@ -386,10 +386,11 @@
#define __NR_rt_tgsigqueueinfo 363
#define __NR_perf_event_open 364
#define __NR_recvmmsg 365
+#define __NR_accept4 366
#ifdef __KERNEL__
-#define NR_syscalls 366
+#define NR_syscalls 367
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR