hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/powerpc/include/asm/unistd.h
....@@ -1,18 +1,13 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * This file contains the system call numbers.
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation; either version
7
- * 2 of the License, or (at your option) any later version.
84 */
95 #ifndef _ASM_POWERPC_UNISTD_H_
106 #define _ASM_POWERPC_UNISTD_H_
117
128 #include <uapi/asm/unistd.h>
139
14
-
15
-#define NR_syscalls 389
10
+#define NR_syscalls __NR_syscalls
1611
1712 #define __NR__exit __NR_exit
1813
....@@ -22,6 +17,7 @@
2217 #include <linux/compiler.h>
2318 #include <linux/linkage.h>
2419
20
+#define __ARCH_WANT_NEW_STAT
2521 #define __ARCH_WANT_OLD_READDIR
2622 #define __ARCH_WANT_STAT64
2723 #define __ARCH_WANT_SYS_ALARM
....@@ -29,8 +25,8 @@
2925 #define __ARCH_WANT_SYS_IPC
3026 #define __ARCH_WANT_SYS_PAUSE
3127 #define __ARCH_WANT_SYS_SIGNAL
32
-#define __ARCH_WANT_SYS_TIME
33
-#define __ARCH_WANT_SYS_UTIME
28
+#define __ARCH_WANT_SYS_TIME32
29
+#define __ARCH_WANT_SYS_UTIME32
3430 #define __ARCH_WANT_SYS_WAITPID
3531 #define __ARCH_WANT_SYS_SOCKETCALL
3632 #define __ARCH_WANT_SYS_FADVISE64
....@@ -46,13 +42,15 @@
4642 #define __ARCH_WANT_OLD_STAT
4743 #endif
4844 #ifdef CONFIG_PPC64
49
-#define __ARCH_WANT_COMPAT_SYS_TIME
45
+#define __ARCH_WANT_SYS_TIME
46
+#define __ARCH_WANT_SYS_UTIME
5047 #define __ARCH_WANT_SYS_NEWFSTATAT
5148 #define __ARCH_WANT_COMPAT_SYS_SENDFILE
5249 #endif
5350 #define __ARCH_WANT_SYS_FORK
5451 #define __ARCH_WANT_SYS_VFORK
5552 #define __ARCH_WANT_SYS_CLONE
53
+#define __ARCH_WANT_SYS_CLONE3
5654
5755 #endif /* __ASSEMBLY__ */
5856 #endif /* _ASM_POWERPC_UNISTD_H_ */