Преглед изворни кода

[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>
David Woodhouse пре 19 година
родитељ
комит
3213e913b0
2 измењених фајлова са 5 додато и 1 уклоњено
  1. 2 0
      arch/i386/kernel/syscall_table.S
  2. 3 1
      include/asm-i386/unistd.h

+ 2 - 0
arch/i386/kernel/syscall_table.S

@@ -307,3 +307,5 @@ ENTRY(sys_call_table)
 	.long sys_readlinkat		/* 305 */
 	.long sys_readlinkat		/* 305 */
 	.long sys_fchmodat
 	.long sys_fchmodat
 	.long sys_faccessat
 	.long sys_faccessat
+	.long sys_pselect6
+	.long sys_ppoll

+ 3 - 1
include/asm-i386/unistd.h

@@ -313,8 +313,10 @@
 #define __NR_readlinkat		305
 #define __NR_readlinkat		305
 #define __NR_fchmodat		306
 #define __NR_fchmodat		306
 #define __NR_faccessat		307
 #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
  * user-visible error numbers are in the range -1 - -128: see