diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 11:54:30 +0100 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 11:54:30 +0100 |
commit | 7800029df321b033ef27122fbb599ee0a839eb53 (patch) | |
tree | fae2f4b1be9442a99724b5fc8c1b976b1dd34dfd | |
parent | 0b07aa6d383e1bb0024b17dec9251deec9ddbc31 (diff) | |
download | lwn-7800029df321b033ef27122fbb599ee0a839eb53.tar.gz lwn-7800029df321b033ef27122fbb599ee0a839eb53.zip |
CRIS: Add new timerfd syscall entries.
-rw-r--r-- | arch/cris/arch-v10/kernel/entry.S | 4 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/entry.S | 4 | ||||
-rw-r--r-- | include/asm-cris/unistd.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/arch/cris/arch-v10/kernel/entry.S b/arch/cris/arch-v10/kernel/entry.S index b61aedbad38f..3a65f322ae07 100644 --- a/arch/cris/arch-v10/kernel/entry.S +++ b/arch/cris/arch-v10/kernel/entry.S @@ -924,9 +924,11 @@ sys_call_table: .long sys_epoll_pwait .long sys_utimensat /* 320 */ .long sys_signalfd - .long sys_ni_syscall + .long sys_timerfd_create .long sys_eventfd .long sys_fallocate + .long sys_timerfd_settime /* 325 */ + .long sys_timerfd_gettime /* * NOTE!! This doesn't have to be exact - we just have diff --git a/arch/cris/arch-v32/kernel/entry.S b/arch/cris/arch-v32/kernel/entry.S index f58e137876f8..eebbaba45430 100644 --- a/arch/cris/arch-v32/kernel/entry.S +++ b/arch/cris/arch-v32/kernel/entry.S @@ -847,9 +847,11 @@ sys_call_table: .long sys_epoll_pwait .long sys_utimensat /* 320 */ .long sys_signalfd - .long sys_timerfd + .long sys_timerfd_create .long sys_eventfd .long sys_fallocate + .long sys_timerfd_settime /* 325 */ + .long sys_timerfd_gettime /* * NOTE!! This doesn't have to be exact - we just have diff --git a/include/asm-cris/unistd.h b/include/asm-cris/unistd.h index bd57a7949170..007cb16a6b5b 100644 --- a/include/asm-cris/unistd.h +++ b/include/asm-cris/unistd.h @@ -326,9 +326,11 @@ #define __NR_epoll_pwait 319 #define __NR_utimensat 320 #define __NR_signalfd 321 -#define __NR_timerfd 322 +#define __NR_timerfd_create 322 #define __NR_eventfd 323 #define __NR_fallocate 324 +#define __NR_timerfd_settime 315 +#define __NR_timerfd_gettime 316 #ifdef __KERNEL__ |