Skip to content

Commit 805089c

Browse files
committed
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>
1 parent ecf7e0a commit 805089c

File tree

4 files changed

+0
-28
lines changed

4 files changed

+0
-28
lines changed

arch/mips/include/asm/unistd.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,7 @@
5454
#define __ARCH_WANT_SYS_CLONE
5555

5656
/* whitelists for checksyscalls */
57-
#define __IGNORE_select
58-
#define __IGNORE_vfork
59-
#define __IGNORE_time
60-
#define __IGNORE_uselib
6157
#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
7158

7259
#endif /* !__ASSEMBLY__ */
7360

arch/parisc/include/asm/unistd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#define SYS_ify(syscall_name) __NR_##syscall_name
1212

13-
#define __IGNORE_select /* newselect */
1413
#define __IGNORE_fadvise64 /* fadvise64_64 */
1514

1615
#ifndef ASM_LINE_SEP

arch/s390/include/asm/unistd.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include <uapi/asm/unistd.h>
1111
#include <asm/unistd_nr.h>
1212

13-
#define __IGNORE_time
14-
1513
#define __ARCH_WANT_NEW_STAT
1614
#define __ARCH_WANT_OLD_READDIR
1715
#define __ARCH_WANT_SYS_ALARM

arch/xtensa/include/asm/unistd.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@
1010
#define __ARCH_WANT_SYS_UTIME
1111
#define __ARCH_WANT_SYS_GETPGRP
1212

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-
2513
#define NR_syscalls __NR_syscalls
2614

2715
#endif /* _XTENSA_UNISTD_H */

0 commit comments

Comments
 (0)