diff --git a/arch/i386/kernel/syscall_table.S b/arch/i386/kernel/syscall_table.S index d91a5f55e06a54285e6d0675eb7e488e832cace3..d50634c74ed9e31fb7bfcde479a3eaab3a11698d 100644 --- a/arch/i386/kernel/syscall_table.S +++ b/arch/i386/kernel/syscall_table.S @@ -321,3 +321,4 @@ ENTRY(sys_call_table) .long sys_epoll_pwait .long sys_utimensat /* 320 */ .long sys_signalfd + .long sys_timerfd diff --git a/arch/x86_64/ia32/ia32entry.S b/arch/x86_64/ia32/ia32entry.S index bf8552d3a8e6717c706392da5fa357c120f2a47b..bdbed0a7e5e429c3d36468bb43fd9b6f80b74946 100644 --- a/arch/x86_64/ia32/ia32entry.S +++ b/arch/x86_64/ia32/ia32entry.S @@ -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: diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index d8383b6a2296074b08eee5a250f82eb4605db979..1c8076a402e5a187b5ef434c13168a6114aae8c8 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 e12fb1a876c7dfdfdb5cefd212e18099dc014f59..3e273b0444573162447b6a74fe1950002510e915 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