]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
syscalls: remove obsolete __IGNORE_ macros
authorArnd Bergmann <arnd@arndb.de>
Fri, 11 Jan 2019 15:10:44 +0000 (16:10 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 6 Feb 2019 23:13:27 +0000 (00:13 +0100)
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>
arch/mips/include/asm/unistd.h
arch/parisc/include/asm/unistd.h
arch/s390/include/asm/unistd.h
arch/xtensa/include/asm/unistd.h

index b23d74a601b38202efa80368f6a1ba1a056c67bc..75c590229a23df2e447922937b25dd072a18cd00 100644 (file)
 #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__ */
 
index 9ec1026af8771e03f5411366eb45839866456d0c..ac742b80e33353baaa3f4a3e17eecb3595d20952 100644 (file)
@@ -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
index ed08f114ee91536dd9f064543c2be8aa88f6438b..59202ceea1f6fe0596700356ed0511d24a95f32b 100644 (file)
@@ -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
index 0d34629dafc5194a93641f00f7ea60a7769aa752..81cc52ea1bd54fb2a096667342f212c1421121e2 100644 (file)
 #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 */