powerpc: Wire up new syscalls
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 23 Mar 2011 18:40:47 +0000 (18:40 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Mar 2011 23:44:11 +0000 (10:44 +1100)
These syscalls have been added recently:
name_to_handle_at
open_by_handle_at
clock_adjtime
syncfs

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h

index aa0f1ebb4aaf0e85a22124b42987ec335cc57d1c..60f64b132bd41ef70f4ecbda237cbb0c603a34b8 100644 (file)
@@ -348,3 +348,7 @@ COMPAT_SYS_SPU(sendmsg)
 COMPAT_SYS_SPU(recvmsg)
 COMPAT_SYS_SPU(recvmmsg)
 SYSCALL_SPU(accept4)
+SYSCALL_SPU(name_to_handle_at)
+COMPAT_SYS_SPU(open_by_handle_at)
+COMPAT_SYS_SPU(clock_adjtime)
+SYSCALL_SPU(syncfs)
index 6151937657f69c0a3ee9f201befc74f297c57bce..3c215648ce6dcaf4957b4cd051e517291646711c 100644 (file)
 #define __NR_recvmsg           342
 #define __NR_recvmmsg          343
 #define __NR_accept4           344
+#define __NR_name_to_handle_at 345
+#define __NR_open_by_handle_at 346
+#define __NR_clock_adjtime     347
+#define __NR_syncfs            348
 
 #ifdef __KERNEL__
 
-#define __NR_syscalls          345
+#define __NR_syscalls          349
 
 #define __NR__exit __NR_exit
 #define NR_syscalls    __NR_syscalls