Skip to content

Commit bae6428

Browse files
committed
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: 6ff645d ("sparc: add system call table generation support") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent d388256 commit bae6428

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/sparc/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
90 common dup2 sys_dup2
118118
91 32 setfsuid32 sys_setfsuid
119119
92 common fcntl sys_fcntl compat_sys_fcntl
120-
93 common select sys_select
120+
93 common select sys_select compat_sys_select
121121
94 32 setfsgid32 sys_setfsgid
122122
95 common fsync sys_fsync
123123
96 common setpriority sys_setpriority

0 commit comments

Comments
 (0)