diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:54:30 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:54:30 -0500 |
commit | 7800029df321b033ef27122fbb599ee0a839eb53 (patch) | |
tree | fae2f4b1be9442a99724b5fc8c1b976b1dd34dfd | |
parent | 0b07aa6d383e1bb0024b17dec9251deec9ddbc31 (diff) |
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: | |||
924 | .long sys_epoll_pwait | 924 | .long sys_epoll_pwait |
925 | .long sys_utimensat /* 320 */ | 925 | .long sys_utimensat /* 320 */ |
926 | .long sys_signalfd | 926 | .long sys_signalfd |
927 | .long sys_ni_syscall | 927 | .long sys_timerfd_create |
928 | .long sys_eventfd | 928 | .long sys_eventfd |
929 | .long sys_fallocate | 929 | .long sys_fallocate |
930 | .long sys_timerfd_settime /* 325 */ | ||
931 | .long sys_timerfd_gettime | ||
930 | 932 | ||
931 | /* | 933 | /* |
932 | * NOTE!! This doesn't have to be exact - we just have | 934 | * 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: | |||
847 | .long sys_epoll_pwait | 847 | .long sys_epoll_pwait |
848 | .long sys_utimensat /* 320 */ | 848 | .long sys_utimensat /* 320 */ |
849 | .long sys_signalfd | 849 | .long sys_signalfd |
850 | .long sys_timerfd | 850 | .long sys_timerfd_create |
851 | .long sys_eventfd | 851 | .long sys_eventfd |
852 | .long sys_fallocate | 852 | .long sys_fallocate |
853 | .long sys_timerfd_settime /* 325 */ | ||
854 | .long sys_timerfd_gettime | ||
853 | 855 | ||
854 | /* | 856 | /* |
855 | * NOTE!! This doesn't have to be exact - we just have | 857 | * 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 @@ | |||
326 | #define __NR_epoll_pwait 319 | 326 | #define __NR_epoll_pwait 319 |
327 | #define __NR_utimensat 320 | 327 | #define __NR_utimensat 320 |
328 | #define __NR_signalfd 321 | 328 | #define __NR_signalfd 321 |
329 | #define __NR_timerfd 322 | 329 | #define __NR_timerfd_create 322 |
330 | #define __NR_eventfd 323 | 330 | #define __NR_eventfd 323 |
331 | #define __NR_fallocate 324 | 331 | #define __NR_fallocate 324 |
332 | #define __NR_timerfd_settime 315 | ||
333 | #define __NR_timerfd_gettime 316 | ||
332 | 334 | ||
333 | #ifdef __KERNEL__ | 335 | #ifdef __KERNEL__ |
334 | 336 | ||