aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-12-10 16:10:31 -0500
committerArnd Bergmann <arnd@arndb.de>2009-12-10 16:18:35 -0500
commit9ab87644393d789b950ba984fa360f45c4df02e5 (patch)
tree9a8c98ee3aaf4a70e5650c64d34fdce99e59b7e9 /include
parent1f018c8d0d30bd6cc704104cfc50f2e5eee4e2dd (diff)
asm-generic: add sys_accept4 to unistd.h
Code review has shown that the generic version of unistd.h is missing a reference to the accept4 system call. This was not noticed before because most architectures handle this through sys_socketcall. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index 2869650fb083..c5545da5cb72 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -622,9 +622,11 @@ __SYSCALL(__NR_move_pages, sys_move_pages)
622__SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo) 622__SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
623#define __NR_perf_event_open 241 623#define __NR_perf_event_open 241
624__SYSCALL(__NR_perf_event_open, sys_perf_event_open) 624__SYSCALL(__NR_perf_event_open, sys_perf_event_open)
625#define __NR_accept4 242
626__SYSCALL(__NR_accept4, sys_accept4)
625 627
626#undef __NR_syscalls 628#undef __NR_syscalls
627#define __NR_syscalls 242 629#define __NR_syscalls 243
628 630
629/* 631/*
630 * All syscalls below here should go away really, 632 * All syscalls below here should go away really,