[patch 3/5] eventfd+KAIO - eventfd wire up i386 arch ...

From: Davide Libenzi
Date: Thu Mar 15 2007 - 00:17:46 EST


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



Signed-off-by: Davide Libenzi <davidel@xxxxxxxxxxxxxxx>


- Davide


Index: linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S
===================================================================
--- linux-2.6.20.ep2.orig/arch/i386/kernel/syscall_table.S 2007-03-14 20:51:36.000000000 -0700
+++ linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S 2007-03-14 20:54:34.000000000 -0700
@@ -321,3 +321,4 @@
.long sys_epoll_pwait
.long sys_signalfd /* 320 */
.long sys_timerfd
+ .long sys_eventfd
Index: linux-2.6.20.ep2/include/asm-i386/unistd.h
===================================================================
--- linux-2.6.20.ep2.orig/include/asm-i386/unistd.h 2007-03-14 20:51:36.000000000 -0700
+++ linux-2.6.20.ep2/include/asm-i386/unistd.h 2007-03-14 20:54:34.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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/