hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/xtensa/include/asm/unistd.h
....@@ -3,23 +3,14 @@
33 #define _XTENSA_UNISTD_H
44
55 #define __ARCH_WANT_SYS_CLONE
6
+#define __ARCH_WANT_SYS_CLONE3
67 #include <uapi/asm/unistd.h>
78
9
+#define __ARCH_WANT_NEW_STAT
810 #define __ARCH_WANT_STAT64
9
-#define __ARCH_WANT_SYS_UTIME
10
-#define __ARCH_WANT_SYS_LLSEEK
11
+#define __ARCH_WANT_SYS_UTIME32
1112 #define __ARCH_WANT_SYS_GETPGRP
1213
13
-/*
14
- * Ignore legacy system calls in the checksyscalls.sh script
15
- */
16
-
17
-#define __IGNORE_fork /* use clone */
18
-#define __IGNORE_time
19
-#define __IGNORE_alarm /* use setitimer */
20
-#define __IGNORE_pause
21
-#define __IGNORE_mmap /* use mmap2 */
22
-#define __IGNORE_vfork /* use clone */
23
-#define __IGNORE_fadvise64 /* use fadvise64_64 */
14
+#define NR_syscalls __NR_syscalls
2415
2516 #endif /* _XTENSA_UNISTD_H */