| .. | .. |
|---|
| 13 | 13 | #define _ASM_UNISTD_H |
|---|
| 14 | 14 | |
|---|
| 15 | 15 | #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> |
|---|
| 16 | 19 | |
|---|
| 17 | 20 | #ifdef CONFIG_MIPS32_N32 |
|---|
| 18 | 21 | #define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls) |
|---|
| .. | .. |
|---|
| 24 | 27 | |
|---|
| 25 | 28 | #ifndef __ASSEMBLY__ |
|---|
| 26 | 29 | |
|---|
| 30 | +#define __ARCH_WANT_NEW_STAT |
|---|
| 27 | 31 | #define __ARCH_WANT_OLD_READDIR |
|---|
| 28 | 32 | #define __ARCH_WANT_SYS_ALARM |
|---|
| 29 | 33 | #define __ARCH_WANT_SYS_GETHOSTNAME |
|---|
| 30 | 34 | #define __ARCH_WANT_SYS_IPC |
|---|
| 31 | 35 | #define __ARCH_WANT_SYS_PAUSE |
|---|
| 32 | 36 | #define __ARCH_WANT_SYS_UTIME |
|---|
| 37 | +#define __ARCH_WANT_SYS_UTIME32 |
|---|
| 33 | 38 | #define __ARCH_WANT_SYS_WAITPID |
|---|
| 34 | 39 | #define __ARCH_WANT_SYS_SOCKETCALL |
|---|
| 35 | 40 | #define __ARCH_WANT_SYS_GETPGRP |
|---|
| 36 | | -#define __ARCH_WANT_SYS_LLSEEK |
|---|
| 37 | 41 | #define __ARCH_WANT_SYS_NICE |
|---|
| 38 | 42 | #define __ARCH_WANT_SYS_OLD_UNAME |
|---|
| 39 | 43 | #define __ARCH_WANT_SYS_OLDUMOUNT |
|---|
| .. | .. |
|---|
| 41 | 45 | #define __ARCH_WANT_SYS_SIGPROCMASK |
|---|
| 42 | 46 | # ifdef CONFIG_32BIT |
|---|
| 43 | 47 | # define __ARCH_WANT_STAT64 |
|---|
| 44 | | -# define __ARCH_WANT_SYS_TIME |
|---|
| 48 | +# define __ARCH_WANT_SYS_TIME32 |
|---|
| 45 | 49 | # endif |
|---|
| 46 | 50 | # ifdef CONFIG_MIPS32_O32 |
|---|
| 47 | | -# define __ARCH_WANT_COMPAT_SYS_TIME |
|---|
| 51 | +# define __ARCH_WANT_SYS_TIME32 |
|---|
| 48 | 52 | # endif |
|---|
| 49 | 53 | #define __ARCH_WANT_SYS_FORK |
|---|
| 50 | 54 | #define __ARCH_WANT_SYS_CLONE |
|---|
| 55 | +#define __ARCH_WANT_SYS_CLONE3 |
|---|
| 51 | 56 | |
|---|
| 52 | 57 | /* whitelists for checksyscalls */ |
|---|
| 53 | | -#define __IGNORE_select |
|---|
| 54 | | -#define __IGNORE_vfork |
|---|
| 55 | | -#define __IGNORE_time |
|---|
| 56 | | -#define __IGNORE_uselib |
|---|
| 57 | 58 | #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 |
|---|
| 67 | 59 | |
|---|
| 68 | 60 | #endif /* !__ASSEMBLY__ */ |
|---|
| 69 | 61 | |
|---|