sparc: fix old compat_sys_select()
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Jun 2024 12:07:30 +0000 (14:07 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 25 Jun 2024 13:57:25 +0000 (15:57 +0200)
commitbae6428a9fffb2023191b0723e276cf1377a7c9f
tree51563e1ced2dcc614d6fcef1013691fb7e5d2370
parentd3882564a77c21eb746ba5364f3fa89b88de3d61
sparc: fix old compat_sys_select()

sparc has two identical select syscalls at numbers 93 and 230, respectively.
During the conversion to the modern syscall.tbl format, the older one of the
two broke in compat mode, and now refers to the native 64-bit syscall.

Restore the correct behavior. This has very little effect, as glibc has
been using the newer number anyway.

Fixes: 6ff645dd683a ("sparc: add system call table generation support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sparc/kernel/syscalls/syscall.tbl