Skip to content

Commit

Permalink
signal/timer/event: timerfd wire up x86 arches
Browse files Browse the repository at this point in the history
This patch wires the timerfd system call to the x86 architectures.

Signed-off-by: Davide Libenzi <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Michael Kerrisk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
davidel authored and Linus Torvalds committed May 11, 2007
1 parent b215e28 commit 57ac889
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/i386/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,4 @@ ENTRY(sys_call_table)
.long sys_epoll_pwait
.long sys_utimensat /* 320 */
.long sys_signalfd
.long sys_timerfd
1 change: 1 addition & 0 deletions arch/x86_64/ia32/ia32entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -717,4 +717,5 @@ ia32_sys_call_table:
.quad sys_epoll_pwait
.quad compat_sys_utimensat /* 320 */
.quad sys_signalfd
.quad sys_timerfd
ia32_syscall_end:
3 changes: 2 additions & 1 deletion include/asm-i386/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions include/asm-x86_64/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57ac889

Please sign in to comment.