summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/uapi/asm/unistd.h')
-rw-r--r--arch/powerpc/include/uapi/asm/unistd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index 985534d0b448..71958681a9ac 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -10,7 +10,6 @@
#ifndef _UAPI_ASM_POWERPC_UNISTD_H_
#define _UAPI_ASM_POWERPC_UNISTD_H_
-
#define __NR_restart_syscall 0
#define __NR_exit 1
#define __NR_fork 2
@@ -401,4 +400,8 @@
#define __NR_rseq 387
#define __NR_io_pgetevents 388
+#ifdef __KERNEL__
+#define __NR_syscalls 389
+#endif
+
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */