[PATCH] [6/6] Add pselect/ppoll system calls on i386
From: David Woodhouse
Date: Fri Dec 16 2005 - 06:45:09 EST
This patch adds the sys_pselect6() and sys_poll() calls to the i386 syscall
table.
Signed-Off-By: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
arch/i386/kernel/syscall_table.S | 2 ++
arch/i386/kernel/syscall_table.S~ |only
include/asm-i386/unistd.h | 4 +++-
include/asm-i386/unistd.h~ |only
4 files changed, 5 insertions(+), 1 deletion(-)
diff -urp linux-2.6.15-rc5-mm3-pselect5/arch/i386/kernel/syscall_table.S linux-2.6.15-rc5-mm3-pselect6/arch/i386/kernel/syscall_table.S
--- linux-2.6.15-rc5-mm3-pselect5/arch/i386/kernel/syscall_table.S 2005-12-16 10:56:09.000000000 +0000
+++ linux-2.6.15-rc5-mm3-pselect6/arch/i386/kernel/syscall_table.S 2005-12-16 11:14:19.000000000 +0000
@@ -297,3 +297,5 @@ ENTRY(sys_call_table)
.long sys_preadv /* 295 */
.long sys_pwritev
.long sys_unshare
+ .long sys_pselect6
+ .long sys_ppoll
Only in linux-2.6.15-rc5-mm3-pselect6/arch/i386/kernel: syscall_table.S~
diff -urp linux-2.6.15-rc5-mm3-pselect5/include/asm-i386/unistd.h linux-2.6.15-rc5-mm3-pselect6/include/asm-i386/unistd.h
--- linux-2.6.15-rc5-mm3-pselect5/include/asm-i386/unistd.h 2005-12-16 11:09:59.000000000 +0000
+++ linux-2.6.15-rc5-mm3-pselect6/include/asm-i386/unistd.h 2005-12-16 11:13:51.000000000 +0000
@@ -303,8 +303,10 @@
#define __NR_preadv 295
#define __NR_pwritev 296
#define __NR_unshare 297
+#define __NR_pselect6 298
+#define __NR_ppoll 299
-#define NR_syscalls 298
+#define NR_syscalls 300
/*
* user-visible error numbers are in the range -1 - -128: see
Only in linux-2.6.15-rc5-mm3-pselect6/include/asm-i386: unistd.h~
--
dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/