diff options
Diffstat (limited to 'include/asm-powerpc/unistd.h')
-rw-r--r-- | include/asm-powerpc/unistd.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h index bd3c6b6cc50e..9e2c9e1c1239 100644 --- a/include/asm-powerpc/unistd.h +++ b/include/asm-powerpc/unistd.h | |||
@@ -304,10 +304,27 @@ | |||
304 | #define __NR_splice 283 | 304 | #define __NR_splice 283 |
305 | #define __NR_tee 284 | 305 | #define __NR_tee 284 |
306 | #define __NR_vmsplice 285 | 306 | #define __NR_vmsplice 285 |
307 | #define __NR_openat 286 | ||
308 | #define __NR_mkdirat 287 | ||
309 | #define __NR_mknodat 288 | ||
310 | #define __NR_fchownat 289 | ||
311 | #define __NR_futimesat 290 | ||
312 | #ifdef __powerpc64__ | ||
313 | #define __NR_newfstatat 291 | ||
314 | #else | ||
315 | #define __NR_fstatat64 291 | ||
316 | #endif | ||
317 | #define __NR_unlinkat 292 | ||
318 | #define __NR_renameat 293 | ||
319 | #define __NR_linkat 294 | ||
320 | #define __NR_symlinkat 295 | ||
321 | #define __NR_readlinkat 296 | ||
322 | #define __NR_fchmodat 297 | ||
323 | #define __NR_faccessat 298 | ||
307 | 324 | ||
308 | #ifdef __KERNEL__ | 325 | #ifdef __KERNEL__ |
309 | 326 | ||
310 | #define __NR_syscalls 286 | 327 | #define __NR_syscalls 299 |
311 | 328 | ||
312 | #define __NR__exit __NR_exit | 329 | #define __NR__exit __NR_exit |
313 | #define NR_syscalls __NR_syscalls | 330 | #define NR_syscalls __NR_syscalls |
@@ -456,6 +473,7 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6 | |||
456 | #ifdef CONFIG_PPC64 | 473 | #ifdef CONFIG_PPC64 |
457 | #define __ARCH_WANT_COMPAT_SYS_TIME | 474 | #define __ARCH_WANT_COMPAT_SYS_TIME |
458 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | 475 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND |
476 | #define __ARCH_WANT_SYS_NEWFSTATAT | ||
459 | #endif | 477 | #endif |
460 | 478 | ||
461 | /* | 479 | /* |