Commit bae6428a authored by Arnd Bergmann's avatar Arnd Bergmann

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: 6ff645dd ("sparc: add system call table generation support")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent d3882564
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
90 common dup2 sys_dup2 90 common dup2 sys_dup2
91 32 setfsuid32 sys_setfsuid 91 32 setfsuid32 sys_setfsuid
92 common fcntl sys_fcntl compat_sys_fcntl 92 common fcntl sys_fcntl compat_sys_fcntl
93 common select sys_select 93 common select sys_select compat_sys_select
94 32 setfsgid32 sys_setfsgid 94 32 setfsgid32 sys_setfsgid
95 common fsync sys_fsync 95 common fsync sys_fsync
96 common setpriority sys_setpriority 96 common setpriority sys_setpriority
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment