Skip to content

Commit

Permalink
syscalls: remove obsolete __IGNORE_ macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Feb 6, 2019
1 parent ecf7e0a commit 805089c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
13 changes: 0 additions & 13 deletions arch/mips/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,7 @@
#define __ARCH_WANT_SYS_CLONE

/* whitelists for checksyscalls */
#define __IGNORE_select
#define __IGNORE_vfork
#define __IGNORE_time
#define __IGNORE_uselib
#define __IGNORE_fadvise64_64
#define __IGNORE_getdents64
#if _MIPS_SIM == _MIPS_SIM_NABI32
#define __IGNORE_truncate64
#define __IGNORE_ftruncate64
#define __IGNORE_stat64
#define __IGNORE_lstat64
#define __IGNORE_fstat64
#define __IGNORE_fstatat64
#endif

#endif /* !__ASSEMBLY__ */

Expand Down
1 change: 0 additions & 1 deletion arch/parisc/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#define SYS_ify(syscall_name) __NR_##syscall_name

#define __IGNORE_select /* newselect */
#define __IGNORE_fadvise64 /* fadvise64_64 */

#ifndef ASM_LINE_SEP
Expand Down
2 changes: 0 additions & 2 deletions arch/s390/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <uapi/asm/unistd.h>
#include <asm/unistd_nr.h>

#define __IGNORE_time

#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_SYS_ALARM
Expand Down
12 changes: 0 additions & 12 deletions arch/xtensa/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,6 @@
#define __ARCH_WANT_SYS_UTIME
#define __ARCH_WANT_SYS_GETPGRP

/*
* Ignore legacy system calls in the checksyscalls.sh script
*/

#define __IGNORE_fork /* use clone */
#define __IGNORE_time
#define __IGNORE_alarm /* use setitimer */
#define __IGNORE_pause
#define __IGNORE_mmap /* use mmap2 */
#define __IGNORE_vfork /* use clone */
#define __IGNORE_fadvise64 /* use fadvise64_64 */

#define NR_syscalls __NR_syscalls

#endif /* _XTENSA_UNISTD_H */

0 comments on commit 805089c

Please sign in to comment.