This patch wire the eventfd system call to the i386 architecture.


Signed-off-by: Davide Libenzi <davidel@xmailserver.org>


- Davide


Index: linux-2.6.21-rc5.fds/arch/i386/kernel/syscall_table.S
===================================================================
--- linux-2.6.21-rc5.fds.orig/arch/i386/kernel/syscall_table.S  2007-04-02 
15:06:39.000000000 -0700
+++ linux-2.6.21-rc5.fds/arch/i386/kernel/syscall_table.S       2007-04-02 
15:06:44.000000000 -0700
@@ -321,3 +321,4 @@
        .long sys_epoll_pwait
        .long sys_signalfd              /* 320 */
        .long sys_timerfd
+       .long sys_eventfd
Index: linux-2.6.21-rc5.fds/include/asm-i386/unistd.h
===================================================================
--- linux-2.6.21-rc5.fds.orig/include/asm-i386/unistd.h 2007-04-02 
15:06:39.000000000 -0700
+++ linux-2.6.21-rc5.fds/include/asm-i386/unistd.h      2007-04-02 
15:06:44.000000000 -0700
@@ -327,10 +327,11 @@
 #define __NR_epoll_pwait       319
 #define __NR_signalfd          320
 #define __NR_timerfd           321
+#define __NR_eventfd           322
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 322
+#define NR_syscalls 323
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR

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

Reply via email to