Skip to contentSkip to conversation

eventfd+KAIO - eventfd wire up x86_64 arch ...

PATCH New Davide Libenzi 1 participant 1 message Mar 15, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 eventfd+KAIO - eventfd wire up x86_64 arch ...

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

- Davide

arch/x86_64/ia32/ia32entry.S +1 -0
Index: linux-2.6.20.ep2/arch/x86_64/ia32/ia32entry.S
===================================================================
@@ -721,4 +721,5 @@
 	.quad sys_epoll_pwait
 	.quad sys_signalfd		/* 320 */
 	.quad sys_timerfd
+	.quad sys_eventfd
 ia32_syscall_end:
include/asm-x86_64/unistd.h +3 -1
Index: linux-2.6.20.ep2/include/asm-x86_64/unistd.h
===================================================================
@@ -623,8 +623,10 @@
 __SYSCALL(__NR_signalfd, sys_signalfd)
 #define __NR_timerfd		281
 __SYSCALL(__NR_timerfd, sys_timerfd)
+#define __NR_eventfd		282
+__SYSCALL(__NR_eventfd, sys_eventfd)
 
-#define __NR_syscall_max __NR_timerfd
+#define __NR_syscall_max __NR_eventfd
 
 #ifndef __NO_STUBS
 #define __ARCH_WANT_OLD_READDIR