powerpc: Wire renameat2() syscall
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 1 Jun 2014 23:24:27 +0000 (09:24 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 1 Jun 2014 23:24:27 +0000 (09:24 +1000)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h
arch/powerpc/include/uapi/asm/unistd.h

index 3ddf70276706421532066e89261ea3f0d0c8c9ab..ea4dc3a89c1f05d91390cdf9c498029617fdf7f4 100644 (file)
@@ -361,3 +361,4 @@ SYSCALL(finit_module)
 SYSCALL(ni_syscall) /* sys_kcmp */
 SYSCALL_SPU(sched_setattr)
 SYSCALL_SPU(sched_getattr)
+SYSCALL_SPU(renameat2)
index 4494f029b632e50babb7d1d08c8535da144a43b1..9b892bbd9d843ec4d2af43f788a557b9e35bcec5 100644 (file)
@@ -12,7 +12,7 @@
 #include <uapi/asm/unistd.h>
 
 
-#define __NR_syscalls          357
+#define __NR_syscalls          358
 
 #define __NR__exit __NR_exit
 #define NR_syscalls    __NR_syscalls
index 881bf2e2560d40c05723d262da69402dcdfed262..2d526f7b48da121f60b2c3c7c069b07199a76ff6 100644 (file)
 #define __NR_kcmp              354
 #define __NR_sched_setattr     355
 #define __NR_sched_getattr     356
+#define __NR_renameat2         357
 
 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */