On Thu, Jun 20, 2024, at 18:23, Arnd Bergmann wrote: > From: Arnd Bergmann <a...@arndb.de> > > 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_SYSCALLS macro. > > The macro arguments are meant to follow the syscall.tbl format, the idea > here is that by the end of the series, all other syscalls are changed > to the same format to make it possible to move all architectures over > to generating the system call table consistently. > Only this patch needs to be backported though. > > Cc: sta...@vger.kernel.org # v5.19+ > Fixes: 7eb6369d7acf ("RISC-V: Add support for rv32 userspace via COMPAT") > Signed-off-by: Arnd Bergmann <a...@arndb.de>
I had pulled this in from my longer series, but as the kernel build bot reported, this produced build time regressions, so I'll drop it from the v6.10 fixes and will integrated it back as part of the cleanup series. Arnd