.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * 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. |
---|
8 | 4 | */ |
---|
9 | 5 | #ifndef _ASM_POWERPC_UNISTD_H_ |
---|
10 | 6 | #define _ASM_POWERPC_UNISTD_H_ |
---|
11 | 7 | |
---|
12 | 8 | #include <uapi/asm/unistd.h> |
---|
13 | 9 | |
---|
14 | | - |
---|
15 | | -#define NR_syscalls 389 |
---|
| 10 | +#define NR_syscalls __NR_syscalls |
---|
16 | 11 | |
---|
17 | 12 | #define __NR__exit __NR_exit |
---|
18 | 13 | |
---|
.. | .. |
---|
22 | 17 | #include <linux/compiler.h> |
---|
23 | 18 | #include <linux/linkage.h> |
---|
24 | 19 | |
---|
| 20 | +#define __ARCH_WANT_NEW_STAT |
---|
25 | 21 | #define __ARCH_WANT_OLD_READDIR |
---|
26 | 22 | #define __ARCH_WANT_STAT64 |
---|
27 | 23 | #define __ARCH_WANT_SYS_ALARM |
---|
.. | .. |
---|
29 | 25 | #define __ARCH_WANT_SYS_IPC |
---|
30 | 26 | #define __ARCH_WANT_SYS_PAUSE |
---|
31 | 27 | #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 |
---|
34 | 30 | #define __ARCH_WANT_SYS_WAITPID |
---|
35 | 31 | #define __ARCH_WANT_SYS_SOCKETCALL |
---|
36 | 32 | #define __ARCH_WANT_SYS_FADVISE64 |
---|
.. | .. |
---|
46 | 42 | #define __ARCH_WANT_OLD_STAT |
---|
47 | 43 | #endif |
---|
48 | 44 | #ifdef CONFIG_PPC64 |
---|
49 | | -#define __ARCH_WANT_COMPAT_SYS_TIME |
---|
| 45 | +#define __ARCH_WANT_SYS_TIME |
---|
| 46 | +#define __ARCH_WANT_SYS_UTIME |
---|
50 | 47 | #define __ARCH_WANT_SYS_NEWFSTATAT |
---|
51 | 48 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE |
---|
52 | 49 | #endif |
---|
53 | 50 | #define __ARCH_WANT_SYS_FORK |
---|
54 | 51 | #define __ARCH_WANT_SYS_VFORK |
---|
55 | 52 | #define __ARCH_WANT_SYS_CLONE |
---|
| 53 | +#define __ARCH_WANT_SYS_CLONE3 |
---|
56 | 54 | |
---|
57 | 55 | #endif /* __ASSEMBLY__ */ |
---|
58 | 56 | #endif /* _ASM_POWERPC_UNISTD_H_ */ |
---|