signal/timer/event: signalfd wire up x86 arches
authorDavide Libenzi <davidel@xmailserver.org>
Fri, 11 May 2007 05:23:14 +0000 (22:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 15:29:36 +0000 (08:29 -0700)
This patch wires the signalfd 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 0772678ceecf376753f834753441821c83ca3d53..d91a5f55e06a54285e6d0675eb7e488e832cace3 100644 (file)
@@ -320,3 +320,4 @@ ENTRY(sys_call_table)
        .long sys_getcpu
        .long sys_epoll_pwait
        .long sys_utimensat             /* 320 */
+       .long sys_signalfd
index f21068378272f0b8dbce0ce1d7f8b29ccfa0b286..bf8552d3a8e6717c706392da5fa357c120f2a47b 100644 (file)
@@ -716,4 +716,5 @@ ia32_sys_call_table:
        .quad sys_getcpu
        .quad sys_epoll_pwait
        .quad compat_sys_utimensat      /* 320 */
+       .quad sys_signalfd
 ia32_syscall_end:              
index bd21e795197c5689d823ae2d9abda8a3cc3693ad..d8383b6a2296074b08eee5a250f82eb4605db979 100644 (file)
 #define __NR_getcpu            318
 #define __NR_epoll_pwait       319
 #define __NR_utimensat         320
+#define __NR_signalfd          321
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 321
+#define NR_syscalls 322
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 18a0b01c8045ba0716243a94a6e2b2a405e49375..e12fb1a876c7dfdfdb5cefd212e18099dc014f59 100644 (file)
@@ -624,6 +624,8 @@ __SYSCALL(__NR_utimensat, sys_utimensat)
 #define __IGNORE_getcpu                /* implemented as a vsyscall */
 #define __NR_epoll_pwait       281
 __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
+#define __NR_signalfd          282
+__SYSCALL(__NR_signalfd, sys_signalfd)
 
 #ifndef __NO_STUBS
 #define __ARCH_WANT_OLD_READDIR