Re: [PATCH v9 08/15] mips: Use the common syscall table

From: Arnd Bergmann

Date: Thu Nov 12 2026 - 09:44:26 EST


On Thu, Nov 5, 2026, at 21:05, André Almeida wrote:
> Syscall numbers from 403 are shared with all architectures, so move the
> toolchain to use the common syscall table and remove duplicated code.
>
> The generated files are not exactly the same as before, but they have no
> functional changes:
>
> - For O32 ABI, the syscall table would have entries like
> __SYSCALL_WITH_COMPAT(403, sys_clock_gettime, sys_clock_gettime)
> which is equivalent to the new entry __SYSCALL(403, sys_clock_gettime)
>
> - For N32 ABI, the syscall table would have entries like
> __SYSCALL(413, compat_sys_pselect6_time64), which is equivalent to
> __SYSCALL_WITH_COMPAT(413, sys_pselect6, compat_sys_pselect6_time64)
> given the new __SYSCALL_WITH_COMPAT() definition for N32.
>
> - The above applies for N64 ABI as well.
>
> Signed-off-by: André Almeida <andrealmeid@xxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>