diff options
author | Davide Libenzi <davidel@xmailserver.org> | 2007-05-11 09:23:17 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-11 19:29:36 +0400 |
commit | 57ac8898508638ca6d15ecd8b911a431d673ff30 (patch) | |
tree | 0e4f5a9b5fe0e1495e9e60486dc8e0defe0dbd9d /include | |
parent | b215e283992899650c4271e7385c79e26fb9a88e (diff) | |
download | linux-57ac8898508638ca6d15ecd8b911a431d673ff30.tar.xz |
signal/timer/event: timerfd wire up x86 arches
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/unistd.h | 3 | ||||
-rw-r--r-- | include/asm-x86_64/unistd.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index d8383b6a2296..1c8076a402e5 100644 --- a/include/asm-i386/unistd.h +++ b/include/asm-i386/unistd.h @@ -327,10 +327,11 @@ #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 diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h index e12fb1a876c7..3e273b044457 100644 --- a/include/asm-x86_64/unistd.h +++ b/include/asm-x86_64/unistd.h @@ -626,6 +626,8 @@ __SYSCALL(__NR_utimensat, sys_utimensat) __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 |