From 3213e913b0d6baeb28aa1affbdd4bfa7efedc35f Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 18 Jan 2006 17:44:06 -0800 Subject: [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/i386/kernel/syscall_table.S | 2 ++ include/asm-i386/unistd.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/i386/kernel/syscall_table.S b/arch/i386/kernel/syscall_table.S index a988b40e594..1b665928336 100644 --- a/arch/i386/kernel/syscall_table.S +++ b/arch/i386/kernel/syscall_table.S @@ -307,3 +307,5 @@ ENTRY(sys_call_table) .long sys_readlinkat /* 305 */ .long sys_fchmodat .long sys_faccessat + .long sys_pselect6 + .long sys_ppoll diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index 3400441b3f9..597496ed2ae 100644 --- a/include/asm-i386/unistd.h +++ b/include/asm-i386/unistd.h @@ -313,8 +313,10 @@ #define __NR_readlinkat 305 #define __NR_fchmodat 306 #define __NR_faccessat 307 +#define __NR_pselect6 308 +#define __NR_ppoll 309 -#define NR_syscalls 308 +#define NR_syscalls 310 /* * user-visible error numbers are in the range -1 - -128: see -- cgit v1.2.3