aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorÉmeric Maschino <emeric.maschino@gmail.com>2012-01-09 15:55:10 -0500
committerTony Luck <tony.luck@intel.com>2012-01-09 15:55:10 -0500
commit65cc21b4523e94d5640542a818748cd3be8cd6b4 (patch)
tree157a0ee680fcb393c5bd8eda36a39d10ea5a7a0b /arch/ia64
parent805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff)
ia64: Add accept4() syscall
While debugging udev > 170 failure on Debian Wheezy (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648325), it appears that the issue was in fact due to missing accept4() in ia64. This patch simply adds accept4() to ia64. Signed-off-by: Émeric Maschino <emeric.maschino@gmail.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/unistd.h3
-rw-r--r--arch/ia64/kernel/entry.S1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h
index 7617248f0d11..7a3bd2524944 100644
--- a/arch/ia64/include/asm/unistd.h
+++ b/arch/ia64/include/asm/unistd.h
@@ -323,11 +323,12 @@
323#define __NR_sendmmsg 1331 323#define __NR_sendmmsg 1331
324#define __NR_process_vm_readv 1332 324#define __NR_process_vm_readv 1332
325#define __NR_process_vm_writev 1333 325#define __NR_process_vm_writev 1333
326#define __NR_accept4 1334
326 327
327#ifdef __KERNEL__ 328#ifdef __KERNEL__
328 329
329 330
330#define NR_syscalls 310 /* length of syscall table */ 331#define NR_syscalls 311 /* length of syscall table */
331 332
332/* 333/*
333 * The following defines stop scripts/checksyscalls.sh from complaining about 334 * The following defines stop scripts/checksyscalls.sh from complaining about
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
index 5b31d46aff67..1ccbe12a4d84 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -1779,6 +1779,7 @@ sys_call_table:
1779 data8 sys_sendmmsg 1779 data8 sys_sendmmsg
1780 data8 sys_process_vm_readv 1780 data8 sys_process_vm_readv
1781 data8 sys_process_vm_writev 1781 data8 sys_process_vm_writev
1782 data8 sys_accept4
1782 1783
1783 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls 1784 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
1784#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */ 1785#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */