This patch wires the timerfd system call to the x86 architectures.
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
.long sys_epoll_pwait
.long sys_utimensat /* 320 */
.long sys_signalfd
+ .long sys_timerfd
.quad sys_epoll_pwait
.quad compat_sys_utimensat /* 320 */
.quad sys_signalfd
+ .quad sys_timerfd
ia32_syscall_end:
#define __NR_epoll_pwait 319
#define __NR_utimensat 320
#define __NR_signalfd 321
+#define __NR_timerfd 322
#ifdef __KERNEL__
-#define NR_syscalls 322
+#define NR_syscalls 323
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
__SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
#define __NR_signalfd 282
__SYSCALL(__NR_signalfd, sys_signalfd)
+#define __NR_timerfd 282
+__SYSCALL(__NR_timerfd, sys_timerfd)
#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR