FRV: Change the timerfd syscalls to be the same as i386
authorDavid Howells <dhowells@redhat.com>
Wed, 20 Feb 2008 18:11:44 +0000 (18:11 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 21 Feb 2008 03:58:16 +0000 (19:58 -0800)
Change the FRV timerfd syscalls to be the same as i386 timerfd syscalls.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/entry.S
include/asm-frv/unistd.h

index ca6a345b87e401f7309e89c0a41702a91f38a35d..f36d7f4a7c25eab7458e9d4c19771e23151a3e1c 100644 (file)
@@ -1494,9 +1494,11 @@ sys_call_table:
        .long sys_epoll_pwait
        .long sys_utimensat             /* 320 */
        .long sys_signalfd
        .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_eventfd
        .long sys_fallocate
+       .long sys_timerfd_settime       /* 325 */
+       .long sys_timerfd_gettime
 
 
 syscall_table_size = (. - sys_call_table)
 
 
 syscall_table_size = (. - sys_call_table)
index e8c9866675321b1d0c601f500efccf1343a41230..f184eb8c047c112151781673709154587c63f938 100644 (file)
 #define __NR_epoll_pwait       319
 #define __NR_utimensat         320
 #define __NR_signalfd          321
 #define __NR_epoll_pwait       319
 #define __NR_utimensat         320
 #define __NR_signalfd          321
-/* #define __NR_timerfd                322 removed */
+#define __NR_timerfd_create    322
 #define __NR_eventfd           323
 #define __NR_fallocate         324
 #define __NR_eventfd           323
 #define __NR_fallocate         324
+#define __NR_timerfd_settime   325
+#define __NR_timerfd_gettime   326
 
 #ifdef __KERNEL__
 
 
 #ifdef __KERNEL__