]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - include/asm-powerpc/unistd.h
[PATCH] powerpc: Wire up *at syscalls
[thirdparty/linux.git] / include / asm-powerpc / unistd.h
index 34325e2925964048ce4d65378fd75e8b5c1becca..908acb44cb8a11919637ea95673fba336557290b 100644 (file)
 #define __NR_splice            283
 #define __NR_tee               284
 #define __NR_vmsplice          285
+#define __NR_openat            286
+#define __NR_mkdirat           287
+#define __NR_mknodat           288
+#define __NR_fchownat          289
+#define __NR_futimesat         290
+#ifdef __powerpc64__
+#define __NR_newfstatat                291
+#else
+#define __NR_fstatat64         291
+#endif
+#define __NR_unlinkat          292
+#define __NR_renameat          293
+#define __NR_linkat            294
+#define __NR_symlinkat         295
+#define __NR_readlinkat                296
+#define __NR_fchmodat          297
+#define __NR_faccessat         298
 
-#define __NR_syscalls          286
+#define __NR_syscalls          299
 
 #ifdef __KERNEL__
 #define __NR__exit __NR_exit
@@ -458,6 +475,7 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6
 #ifdef CONFIG_PPC64
 #define __ARCH_WANT_COMPAT_SYS_TIME
 #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
+#define __ARCH_WANT_SYS_NEWFSTATAT
 #endif
 
 /*