Hi Arnd, On Tue, Feb 19, 2019 at 3:34 AM Arnd Bergmann <arnd@xxxxxxxx> wrote: > We don't want new architectures to even provide the old 32-bit time_t > based system calls any more, or define the syscall number macros. > > Add a new __ARCH_WANT_TIME32_SYSCALLS macro that gets enabled for all > existing 32-bit architectures so we don't change any current behavior. ... (only) 32-bit architectures using the generic syscall list, right? > Since this symbol is evaluated in user space as well, we cannot use > a Kconfig CONFIG_* macro but have to define it in uapi/asm/unistd.h. > > On 64-bit architectures, the same system call numbers mostly refer to > the system calls we want to keep, as they already pass 64-bit time_t. > > As new architectures no longer provide these, we need new exceptions > in checksyscalls.sh. > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> > --- > arch/arc/include/uapi/asm/unistd.h | 1 + > arch/arm64/include/uapi/asm/unistd.h | 1 + > arch/c6x/include/uapi/asm/unistd.h | 1 + > arch/csky/include/uapi/asm/unistd.h | 1 + > arch/h8300/include/uapi/asm/unistd.h | 1 + > arch/hexagon/include/uapi/asm/unistd.h | 1 + > arch/nds32/include/uapi/asm/unistd.h | 1 + > arch/nios2/include/uapi/asm/unistd.h | 1 + > arch/openrisc/include/uapi/asm/unistd.h | 1 + > arch/riscv/include/uapi/asm/unistd.h | 3 ++ > arch/unicore32/include/uapi/asm/unistd.h | 1 + > include/uapi/asm-generic/unistd.h | 36 ++++++++++++++++++++++++ > scripts/checksyscalls.sh | 7 +++++ > 13 files changed, 56 insertions(+) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds