[POWERPC] Wire up new timerfd syscalls
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 11 Feb 2008 00:38:40 +0000 (11:38 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Feb 2008 11:11:01 +0000 (22:11 +1100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/systbl.h
include/asm-powerpc/unistd.h

index e996521fb3a686d09f128db627e2bd1d370428b9..ae7085c65692136cf7affb8cfdc25dcec8151431 100644 (file)
@@ -309,8 +309,10 @@ SYSCALL_SPU(getcpu)
 COMPAT_SYS(epoll_pwait)
 COMPAT_SYS_SPU(utimensat)
 COMPAT_SYS_SPU(signalfd)
-SYSCALL(ni_syscall)
+SYSCALL_SPU(timerfd_create)
 SYSCALL_SPU(eventfd)
 COMPAT_SYS_SPU(sync_file_range2)
 COMPAT_SYS(fallocate)
 SYSCALL(subpage_prot)
+COMPAT_SYS_SPU(timerfd_settime)
+COMPAT_SYS_SPU(timerfd_gettime)
index fedc4b8e49e246372e0d188046ff00bcb4b37204..ce91bb662063401f054b34fbbdd09aee73241673 100644 (file)
 #define __NR_epoll_pwait       303
 #define __NR_utimensat         304
 #define __NR_signalfd          305
-#define __NR_timerfd           306
+#define __NR_timerfd_create    306
 #define __NR_eventfd           307
 #define __NR_sync_file_range2  308
 #define __NR_fallocate         309
 #define __NR_subpage_prot      310
+#define __NR_timerfd_settime   311
+#define __NR_timerfd_gettime   312
 
 #ifdef __KERNEL__
 
-#define __NR_syscalls          311
+#define __NR_syscalls          313
 
 #define __NR__exit __NR_exit
 #define NR_syscalls    __NR_syscalls