lkml.org 
[lkml]   [2006]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] [6/6] Add pselect/ppoll system calls on i386
From
Date
This patch adds the sys_pselect6() and sys_poll() calls to the i386 syscall
table.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

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 6ff3e52..14fb84e 100644
--- a/arch/i386/kernel/syscall_table.S
+++ b/arch/i386/kernel/syscall_table.S
@@ -294,3 +294,5 @@ ENTRY(sys_call_table)
.long sys_inotify_add_watch
.long sys_inotify_rm_watch
.long sys_migrate_pages
+ .long sys_pselect6 /* 295 */
+ .long sys_ppoll
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h
index 4a8d5ae..f2eace9 100644
--- a/include/asm-i386/unistd.h
+++ b/include/asm-i386/unistd.h
@@ -300,8 +300,10 @@
#define __NR_inotify_add_watch 292
#define __NR_inotify_rm_watch 293
#define __NR_migrate_pages 294
+#define __NR_pselect6 295
+#define __NR_ppoll 296

-#define NR_syscalls 295
+#define NR_syscalls 297

/*
* user-visible error numbers are in the range -1 - -128: see
--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-10 21:26    [from the cache]
©2003-2011 Jasper Spaans