diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2019-01-11 10:10:44 -0500 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2019-02-06 18:13:27 -0500 |
| commit | 805089c2f77047d81f47ddc227435d606ceb180e (patch) | |
| tree | 39a0ff571f7dad3d9f78ba23e86062bd40abf1c5 | |
| parent | ecf7e0a4ad1528710c90f0a6f4285741ac525f6e (diff) | |
syscalls: remove obsolete __IGNORE_ macros
These are all for ignoring the lack of obsolete system calls,
which have been marked the same way in scripts/checksyscall.sh,
so these can be removed.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
| -rw-r--r-- | arch/mips/include/asm/unistd.h | 13 | ||||
| -rw-r--r-- | arch/parisc/include/asm/unistd.h | 1 | ||||
| -rw-r--r-- | arch/s390/include/asm/unistd.h | 2 | ||||
| -rw-r--r-- | arch/xtensa/include/asm/unistd.h | 12 |
4 files changed, 0 insertions, 28 deletions
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h index b23d74a601b3..75c590229a23 100644 --- a/arch/mips/include/asm/unistd.h +++ b/arch/mips/include/asm/unistd.h | |||
| @@ -54,20 +54,7 @@ | |||
| 54 | #define __ARCH_WANT_SYS_CLONE | 54 | #define __ARCH_WANT_SYS_CLONE |
| 55 | 55 | ||
| 56 | /* whitelists for checksyscalls */ | 56 | /* whitelists for checksyscalls */ |
| 57 | #define __IGNORE_select | ||
| 58 | #define __IGNORE_vfork | ||
| 59 | #define __IGNORE_time | ||
| 60 | #define __IGNORE_uselib | ||
| 61 | #define __IGNORE_fadvise64_64 | 57 | #define __IGNORE_fadvise64_64 |
| 62 | #define __IGNORE_getdents64 | ||
| 63 | #if _MIPS_SIM == _MIPS_SIM_NABI32 | ||
| 64 | #define __IGNORE_truncate64 | ||
| 65 | #define __IGNORE_ftruncate64 | ||
| 66 | #define __IGNORE_stat64 | ||
| 67 | #define __IGNORE_lstat64 | ||
| 68 | #define __IGNORE_fstat64 | ||
| 69 | #define __IGNORE_fstatat64 | ||
| 70 | #endif | ||
| 71 | 58 | ||
| 72 | #endif /* !__ASSEMBLY__ */ | 59 | #endif /* !__ASSEMBLY__ */ |
| 73 | 60 | ||
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index 9ec1026af877..ac742b80e333 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | 10 | ||
| 11 | #define SYS_ify(syscall_name) __NR_##syscall_name | 11 | #define SYS_ify(syscall_name) __NR_##syscall_name |
| 12 | 12 | ||
| 13 | #define __IGNORE_select /* newselect */ | ||
| 14 | #define __IGNORE_fadvise64 /* fadvise64_64 */ | 13 | #define __IGNORE_fadvise64 /* fadvise64_64 */ |
| 15 | 14 | ||
| 16 | #ifndef ASM_LINE_SEP | 15 | #ifndef ASM_LINE_SEP |
diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h index ed08f114ee91..59202ceea1f6 100644 --- a/arch/s390/include/asm/unistd.h +++ b/arch/s390/include/asm/unistd.h | |||
| @@ -10,8 +10,6 @@ | |||
| 10 | #include <uapi/asm/unistd.h> | 10 | #include <uapi/asm/unistd.h> |
| 11 | #include <asm/unistd_nr.h> | 11 | #include <asm/unistd_nr.h> |
| 12 | 12 | ||
| 13 | #define __IGNORE_time | ||
| 14 | |||
| 15 | #define __ARCH_WANT_NEW_STAT | 13 | #define __ARCH_WANT_NEW_STAT |
| 16 | #define __ARCH_WANT_OLD_READDIR | 14 | #define __ARCH_WANT_OLD_READDIR |
| 17 | #define __ARCH_WANT_SYS_ALARM | 15 | #define __ARCH_WANT_SYS_ALARM |
diff --git a/arch/xtensa/include/asm/unistd.h b/arch/xtensa/include/asm/unistd.h index 0d34629dafc5..81cc52ea1bd5 100644 --- a/arch/xtensa/include/asm/unistd.h +++ b/arch/xtensa/include/asm/unistd.h | |||
| @@ -10,18 +10,6 @@ | |||
| 10 | #define __ARCH_WANT_SYS_UTIME | 10 | #define __ARCH_WANT_SYS_UTIME |
| 11 | #define __ARCH_WANT_SYS_GETPGRP | 11 | #define __ARCH_WANT_SYS_GETPGRP |
| 12 | 12 | ||
| 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 */ | ||
| 24 | |||
| 25 | #define NR_syscalls __NR_syscalls | 13 | #define NR_syscalls __NR_syscalls |
| 26 | 14 | ||
| 27 | #endif /* _XTENSA_UNISTD_H */ | 15 | #endif /* _XTENSA_UNISTD_H */ |
