public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] microblaze: Use the correct select syscall (BZ #28883)
@ 2022-02-16 19:46 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-02-16 19:46 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bbe199b27aa52fc407db3372af00c3e9ffa20d1d

commit bbe199b27aa52fc407db3372af00c3e9ffa20d1d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Feb 16 13:51:42 2022 -0300

    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>

Diff:
---
 sysdeps/unix/sysv/linux/select.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-16 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 19:46 [glibc] microblaze: Use the correct select syscall (BZ #28883) Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).