Re: [PATCH 14/15] asm-generic: unistd: fix time32 compat syscall handling

2024-06-24 Thread Arnd Bergmann
On Thu, Jun 20, 2024, at 18:23, Arnd Bergmann wrote: > From: Arnd Bergmann > > arch/riscv/ appears to have accidentally enabled the compat time32 > syscalls in 64-bit kernels even though the native 32-bit ABI does > not expose those. > > Address this by adding another level of indirection, checkin

[PATCH 14/15] asm-generic: unistd: fix time32 compat syscall handling

2024-06-20 Thread Arnd Bergmann
From: Arnd Bergmann arch/riscv/ appears to have accidentally enabled the compat time32 syscalls in 64-bit kernels even though the native 32-bit ABI does not expose those. Address this by adding another level of indirection, checking for both the target ABI (32 or 64) and the __ARCH_WANT_TIME32_S