diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-16 13:51:42 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-16 16:26:44 -0300 |
commit | bbe199b27aa52fc407db3372af00c3e9ffa20d1d (patch) | |
tree | e7cac6173ee2f4e0b4db5f3a1653c94dd0758a21 /sysdeps/unix | |
parent | 790a607e234aa10d4b977a1b80aebe8a2acac970 (diff) | |
download | glibc-bbe199b27aa52fc407db3372af00c3e9ffa20d1d.tar.gz glibc-bbe199b27aa52fc407db3372af00c3e9ffa20d1d.tar.xz glibc-bbe199b27aa52fc407db3372af00c3e9ffa20d1d.zip |
microblaze: Use the correct select syscall (BZ #28883)
On Microblaze only __NR_newselect is implemented, even though kernel advertise __NR_select on asm/unistd.h. Since microblaze is the only architecture that undef __ASSUME_PSELECT, the generic code change is simpler than chaging the architecture syscall number. Acked-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/select.c b/sysdeps/unix/sysv/linux/select.c index 3bc8b0cc3d..a3f0a2eba7 100644 --- a/sysdeps/unix/sysv/linux/select.c +++ b/sysdeps/unix/sysv/linux/select.c @@ -108,7 +108,7 @@ __select64 (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, ptv32 = &tv32; } - int r = SYSCALL_CANCEL (select, nfds, readfds, writefds, exceptfds, ptv32); + int r = SYSCALL_CANCEL (_newselect, nfds, readfds, writefds, exceptfds, ptv32); if (timeout != NULL) *timeout = valid_timeval_to_timeval64 (tv32); return r; |