提交 fdb902b1 编写于 作者: D Davide Libenzi 提交者: Linus Torvalds

signal/timer/event: eventfd wire up x86 arches

This patch wires the eventfd system call to the x86 architectures.
Signed-off-by: NDavide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 e1ad7468
...@@ -322,3 +322,4 @@ ENTRY(sys_call_table) ...@@ -322,3 +322,4 @@ ENTRY(sys_call_table)
.long sys_utimensat /* 320 */ .long sys_utimensat /* 320 */
.long sys_signalfd .long sys_signalfd
.long sys_timerfd .long sys_timerfd
.long sys_eventfd
...@@ -718,4 +718,5 @@ ia32_sys_call_table: ...@@ -718,4 +718,5 @@ ia32_sys_call_table:
.quad compat_sys_utimensat /* 320 */ .quad compat_sys_utimensat /* 320 */
.quad sys_signalfd .quad sys_signalfd
.quad sys_timerfd .quad sys_timerfd
.quad sys_eventfd
ia32_syscall_end: ia32_syscall_end:
...@@ -328,10 +328,11 @@ ...@@ -328,10 +328,11 @@
#define __NR_utimensat 320 #define __NR_utimensat 320
#define __NR_signalfd 321 #define __NR_signalfd 321
#define __NR_timerfd 322 #define __NR_timerfd 322
#define __NR_eventfd 323
#ifdef __KERNEL__ #ifdef __KERNEL__
#define NR_syscalls 323 #define NR_syscalls 324
#define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_OLD_READDIR
......
...@@ -628,6 +628,8 @@ __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait) ...@@ -628,6 +628,8 @@ __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
__SYSCALL(__NR_signalfd, sys_signalfd) __SYSCALL(__NR_signalfd, sys_signalfd)
#define __NR_timerfd 282 #define __NR_timerfd 282
__SYSCALL(__NR_timerfd, sys_timerfd) __SYSCALL(__NR_timerfd, sys_timerfd)
#define __NR_eventfd 283
__SYSCALL(__NR_eventfd, sys_eventfd)
#ifndef __NO_STUBS #ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_OLD_READDIR
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册