summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2009-12-26 17:19:17 +0000
committerKyle McMartin <kyle@redhat.com>2010-03-06 22:54:09 +0000
commit81e4a5e3057740a625cf556879ae0becf6199f8c (patch)
tree9554a94de0cc544d705c51e0cb9cec0d14d3eebf /arch/parisc
parent9ceb38e6b691debe4bf04cb63165c503a8556177 (diff)
downloadlinux-3.10-81e4a5e3057740a625cf556879ae0becf6199f8c.tar.gz
linux-3.10-81e4a5e3057740a625cf556879ae0becf6199f8c.tar.bz2
linux-3.10-81e4a5e3057740a625cf556879ae0becf6199f8c.zip
parisc: ditto sys_accept4
tested with test_accept4.c from de11defebf00007677fb7ee91d9b089b78786fbb Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/asm/unistd.h3
-rw-r--r--arch/parisc/kernel/syscall_table.S1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h
index ee6363463b7..1ce7d2851d9 100644
--- a/arch/parisc/include/asm/unistd.h
+++ b/arch/parisc/include/asm/unistd.h
@@ -812,8 +812,9 @@
#define __NR_rt_tgsigqueueinfo (__NR_Linux + 317)
#define __NR_perf_event_open (__NR_Linux + 318)
#define __NR_recvmmsg (__NR_Linux + 319)
+#define __NR_accept4 (__NR_Linux + 320)
-#define __NR_Linux_syscalls (__NR_recvmmsg + 1)
+#define __NR_Linux_syscalls (__NR_accept4 + 1)
#define __IGNORE_select /* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index a0c54cf8194..de5f6dab48b 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -418,6 +418,7 @@
ENTRY_COMP(rt_tgsigqueueinfo)
ENTRY_SAME(perf_event_open)
ENTRY_COMP(recvmmsg)
+ ENTRY_SAME(accept4) /* 320 */
/* Nothing yet */