aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-01-18 20:44:06 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-18 22:20:30 -0500
commit3213e913b0d6baeb28aa1affbdd4bfa7efedc35f (patch)
tree2be3ac9ecc2c4d60f7e73582d2d04d5e1efd46bb
parent9f72949f679df06021c9e43886c9191494fdb007 (diff)
[PATCH] Add pselect/ppoll system calls on i386
Add the sys_pselect6() and sys_poll() calls to the i386 syscall table. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/i386/kernel/syscall_table.S2
-rw-r--r--include/asm-i386/unistd.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/i386/kernel/syscall_table.S b/arch/i386/kernel/syscall_table.S
index a988b40e5945..1b665928336b 100644
--- a/arch/i386/kernel/syscall_table.S
+++ b/arch/i386/kernel/syscall_table.S
@@ -307,3 +307,5 @@ ENTRY(sys_call_table)
307 .long sys_readlinkat /* 305 */ 307 .long sys_readlinkat /* 305 */
308 .long sys_fchmodat 308 .long sys_fchmodat
309 .long sys_faccessat 309 .long sys_faccessat
310 .long sys_pselect6
311 .long sys_ppoll
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h
index 3400441b3f91..597496ed2aee 100644
--- a/include/asm-i386/unistd.h
+++ b/include/asm-i386/unistd.h
@@ -313,8 +313,10 @@
313#define __NR_readlinkat 305 313#define __NR_readlinkat 305
314#define __NR_fchmodat 306 314#define __NR_fchmodat 306
315#define __NR_faccessat 307 315#define __NR_faccessat 307
316#define __NR_pselect6 308
317#define __NR_ppoll 309
316 318
317#define NR_syscalls 308 319#define NR_syscalls 310
318 320
319/* 321/*
320 * user-visible error numbers are in the range -1 - -128: see 322 * user-visible error numbers are in the range -1 - -128: see