hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/arch/mips/include/asm/unistd.h
....@@ -13,6 +13,9 @@
1313 #define _ASM_UNISTD_H
1414
1515 #include <uapi/asm/unistd.h>
16
+#include <asm/unistd_nr_n32.h>
17
+#include <asm/unistd_nr_n64.h>
18
+#include <asm/unistd_nr_o32.h>
1619
1720 #ifdef CONFIG_MIPS32_N32
1821 #define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls)
....@@ -24,16 +27,17 @@
2427
2528 #ifndef __ASSEMBLY__
2629
30
+#define __ARCH_WANT_NEW_STAT
2731 #define __ARCH_WANT_OLD_READDIR
2832 #define __ARCH_WANT_SYS_ALARM
2933 #define __ARCH_WANT_SYS_GETHOSTNAME
3034 #define __ARCH_WANT_SYS_IPC
3135 #define __ARCH_WANT_SYS_PAUSE
3236 #define __ARCH_WANT_SYS_UTIME
37
+#define __ARCH_WANT_SYS_UTIME32
3338 #define __ARCH_WANT_SYS_WAITPID
3439 #define __ARCH_WANT_SYS_SOCKETCALL
3540 #define __ARCH_WANT_SYS_GETPGRP
36
-#define __ARCH_WANT_SYS_LLSEEK
3741 #define __ARCH_WANT_SYS_NICE
3842 #define __ARCH_WANT_SYS_OLD_UNAME
3943 #define __ARCH_WANT_SYS_OLDUMOUNT
....@@ -41,29 +45,17 @@
4145 #define __ARCH_WANT_SYS_SIGPROCMASK
4246 # ifdef CONFIG_32BIT
4347 # define __ARCH_WANT_STAT64
44
-# define __ARCH_WANT_SYS_TIME
48
+# define __ARCH_WANT_SYS_TIME32
4549 # endif
4650 # ifdef CONFIG_MIPS32_O32
47
-# define __ARCH_WANT_COMPAT_SYS_TIME
51
+# define __ARCH_WANT_SYS_TIME32
4852 # endif
4953 #define __ARCH_WANT_SYS_FORK
5054 #define __ARCH_WANT_SYS_CLONE
55
+#define __ARCH_WANT_SYS_CLONE3
5156
5257 /* whitelists for checksyscalls */
53
-#define __IGNORE_select
54
-#define __IGNORE_vfork
55
-#define __IGNORE_time
56
-#define __IGNORE_uselib
5758 #define __IGNORE_fadvise64_64
58
-#define __IGNORE_getdents64
59
-#if _MIPS_SIM == _MIPS_SIM_NABI32
60
-#define __IGNORE_truncate64
61
-#define __IGNORE_ftruncate64
62
-#define __IGNORE_stat64
63
-#define __IGNORE_lstat64
64
-#define __IGNORE_fstat64
65
-#define __IGNORE_fstatat64
66
-#endif
6759
6860 #endif /* !__ASSEMBLY__ */
6961