]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
signal/timer/event: eventfd wire up x86 arches
authorDavide Libenzi <davidel@xmailserver.org>
Fri, 11 May 2007 05:23:20 +0000 (22:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 15:29:37 +0000 (08:29 -0700)
This patch wires the eventfd system call to the x86 architectures.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/syscall_table.S
arch/x86_64/ia32/ia32entry.S
include/asm-i386/unistd.h
include/asm-x86_64/unistd.h

index d50634c74ed9e31fb7bfcde479a3eaab3a11698d..bf6adce52267c2b94d2c4dac064f508a43c6492b 100644 (file)
@@ -322,3 +322,4 @@ ENTRY(sys_call_table)
        .long sys_utimensat             /* 320 */
        .long sys_signalfd
        .long sys_timerfd
+       .long sys_eventfd
index bdbed0a7e5e429c3d36468bb43fd9b6f80b74946..52be79beb30624c9a71f49eb8ce10f6f0dd8311b 100644 (file)
@@ -718,4 +718,5 @@ ia32_sys_call_table:
        .quad compat_sys_utimensat      /* 320 */
        .quad sys_signalfd
        .quad sys_timerfd
+       .quad sys_eventfd
 ia32_syscall_end:              
index 1c8076a402e5a187b5ef434c13168a6114aae8c8..e84ace1ec8bfae787d16c944aa7d8f10e0ed874b 100644 (file)
 #define __NR_utimensat         320
 #define __NR_signalfd          321
 #define __NR_timerfd           322
+#define __NR_eventfd           323
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 323
+#define NR_syscalls 324
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 3e273b0444573162447b6a74fe1950002510e915..ae1ed05f28143d71ea31b0dbebd4f31369fce741 100644 (file)
@@ -628,6 +628,8 @@ __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
 __SYSCALL(__NR_signalfd, sys_signalfd)
 #define __NR_timerfd           282
 __SYSCALL(__NR_timerfd, sys_timerfd)
+#define __NR_eventfd           283
+__SYSCALL(__NR_eventfd, sys_eventfd)
 
 #ifndef __NO_STUBS
 #define __ARCH_WANT_OLD_READDIR