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

signal/timer/event: signalfd wire up x86 arches

This patch wires the signalfd 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>
上级 fba2afaa
...@@ -320,3 +320,4 @@ ENTRY(sys_call_table) ...@@ -320,3 +320,4 @@ ENTRY(sys_call_table)
.long sys_getcpu .long sys_getcpu
.long sys_epoll_pwait .long sys_epoll_pwait
.long sys_utimensat /* 320 */ .long sys_utimensat /* 320 */
.long sys_signalfd
...@@ -716,4 +716,5 @@ ia32_sys_call_table: ...@@ -716,4 +716,5 @@ ia32_sys_call_table:
.quad sys_getcpu .quad sys_getcpu
.quad sys_epoll_pwait .quad sys_epoll_pwait
.quad compat_sys_utimensat /* 320 */ .quad compat_sys_utimensat /* 320 */
.quad sys_signalfd
ia32_syscall_end: ia32_syscall_end:
...@@ -326,10 +326,11 @@ ...@@ -326,10 +326,11 @@
#define __NR_getcpu 318 #define __NR_getcpu 318
#define __NR_epoll_pwait 319 #define __NR_epoll_pwait 319
#define __NR_utimensat 320 #define __NR_utimensat 320
#define __NR_signalfd 321
#ifdef __KERNEL__ #ifdef __KERNEL__
#define NR_syscalls 321 #define NR_syscalls 322
#define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_OLD_READDIR
......
...@@ -624,6 +624,8 @@ __SYSCALL(__NR_utimensat, sys_utimensat) ...@@ -624,6 +624,8 @@ __SYSCALL(__NR_utimensat, sys_utimensat)
#define __IGNORE_getcpu /* implemented as a vsyscall */ #define __IGNORE_getcpu /* implemented as a vsyscall */
#define __NR_epoll_pwait 281 #define __NR_epoll_pwait 281
__SYSCALL(__NR_epoll_pwait, sys_epoll_pwait) __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
#define __NR_signalfd 282
__SYSCALL(__NR_signalfd, sys_signalfd)
#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.
先完成此消息的编辑!
想要评论请 注册