32-bit architectures that set CONFIG_COMPAT_TIME need to implement a set of 22 new system calls, but other architectures do not. This ensures we warn about the right ones.
Signed-off-by: Arnd Bergmann arnd@arndb.de --- scripts/checksyscalls.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 5b3add31f9f1..5809cb81a1b8 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -197,6 +197,31 @@ cat << EOF #define __IGNORE_getpmsg #define __IGNORE_putpmsg #define __IGNORE_vserver + +#if !defined(CONFIG_ARCH_HAS_COMPAT_TIME) || defined(CONFIG_64BIT) +#define __IGNORE_clock_gettime64 +#define __IGNORE_clock_settime64 +#define __IGNORE_clock_adjtime64 +#define __IGNORE_clock_getres64 +#define __IGNORE_clock_nanosleep64 +#define __IGNORE_timer_gettime64 +#define __IGNORE_timer_settime64 +#define __IGNORE_timerfd_gettime64 +#define __IGNORE_timerfd_settime64 +#define __IGNORE_pselect64 +#define __IGNORE_ppoll64 +#define __IGNORE_io_getevents64 +#define __IGNORE_recvmmsg64 +#define __IGNORE_semtimedop64 +#define __IGNORE_mq_timedsend64 +#define __IGNORE_mq_timedreceive64 +#define __IGNORE_utimensat64 +#define __IGNORE_newfstat64 +#define __IGNORE_newfstatat64 +#define __IGNORE_rt_sigtimedwait64 +#define __IGNORE_getrusage64 +#define __IGNORE_waitid64 +#endif EOF }