diff options
author | Davide Libenzi <davidel@xmailserver.org> | 2007-05-11 01:23:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-11 11:29:37 -0400 |
commit | fdb902b1225e1668315f38e96d2f439452c03a15 (patch) | |
tree | 6751950608a7635df899bc5f20184754342b94a6 | |
parent | e1ad7468c77ddb94b0615d5f50fa255525fde0f0 (diff) |
signal/timer/event: eventfd wire up x86 arches
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>
-rw-r--r-- | arch/i386/kernel/syscall_table.S | 1 | ||||
-rw-r--r-- | arch/x86_64/ia32/ia32entry.S | 1 | ||||
-rw-r--r-- | include/asm-i386/unistd.h | 3 | ||||
-rw-r--r-- | include/asm-x86_64/unistd.h | 2 |
4 files changed, 6 insertions, 1 deletions
diff --git a/arch/i386/kernel/syscall_table.S b/arch/i386/kernel/syscall_table.S index d50634c74ed9..bf6adce52267 100644 --- a/arch/i386/kernel/syscall_table.S +++ b/arch/i386/kernel/syscall_table.S | |||
@@ -322,3 +322,4 @@ ENTRY(sys_call_table) | |||
322 | .long sys_utimensat /* 320 */ | 322 | .long sys_utimensat /* 320 */ |
323 | .long sys_signalfd | 323 | .long sys_signalfd |
324 | .long sys_timerfd | 324 | .long sys_timerfd |
325 | .long sys_eventfd | ||
diff --git a/arch/x86_64/ia32/ia32entry.S b/arch/x86_64/ia32/ia32entry.S index bdbed0a7e5e4..52be79beb306 100644 --- a/arch/x86_64/ia32/ia32entry.S +++ b/arch/x86_64/ia32/ia32entry.S | |||
@@ -718,4 +718,5 @@ ia32_sys_call_table: | |||
718 | .quad compat_sys_utimensat /* 320 */ | 718 | .quad compat_sys_utimensat /* 320 */ |
719 | .quad sys_signalfd | 719 | .quad sys_signalfd |
720 | .quad sys_timerfd | 720 | .quad sys_timerfd |
721 | .quad sys_eventfd | ||
721 | ia32_syscall_end: | 722 | ia32_syscall_end: |
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index 1c8076a402e5..e84ace1ec8bf 100644 --- a/include/asm-i386/unistd.h +++ b/include/asm-i386/unistd.h | |||
@@ -328,10 +328,11 @@ | |||
328 | #define __NR_utimensat 320 | 328 | #define __NR_utimensat 320 |
329 | #define __NR_signalfd 321 | 329 | #define __NR_signalfd 321 |
330 | #define __NR_timerfd 322 | 330 | #define __NR_timerfd 322 |
331 | #define __NR_eventfd 323 | ||
331 | 332 | ||
332 | #ifdef __KERNEL__ | 333 | #ifdef __KERNEL__ |
333 | 334 | ||
334 | #define NR_syscalls 323 | 335 | #define NR_syscalls 324 |
335 | 336 | ||
336 | #define __ARCH_WANT_IPC_PARSE_VERSION | 337 | #define __ARCH_WANT_IPC_PARSE_VERSION |
337 | #define __ARCH_WANT_OLD_READDIR | 338 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h index 3e273b044457..ae1ed05f2814 100644 --- a/include/asm-x86_64/unistd.h +++ b/include/asm-x86_64/unistd.h | |||
@@ -628,6 +628,8 @@ __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait) | |||
628 | __SYSCALL(__NR_signalfd, sys_signalfd) | 628 | __SYSCALL(__NR_signalfd, sys_signalfd) |
629 | #define __NR_timerfd 282 | 629 | #define __NR_timerfd 282 |
630 | __SYSCALL(__NR_timerfd, sys_timerfd) | 630 | __SYSCALL(__NR_timerfd, sys_timerfd) |
631 | #define __NR_eventfd 283 | ||
632 | __SYSCALL(__NR_eventfd, sys_eventfd) | ||
631 | 633 | ||
632 | #ifndef __NO_STUBS | 634 | #ifndef __NO_STUBS |
633 | #define __ARCH_WANT_OLD_READDIR | 635 | #define __ARCH_WANT_OLD_READDIR |