[PATCH] microblaze: Use the correct select syscall (BZ #28883)
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Feb 16 16:46:51 GMT 2022
On 16/02/2022 12:15, Andreas Schwab wrote:
> On Feb 16 2022, Adhemerval Zanella via Libc-alpha wrote:
>
>> On Microblaze only __NR_newselect is implemented, even though kernel
>> advertise __NR_select on asm/unistd.h. Instead of adding an ad-hoc
>> logic on select.c, change the __NR_select of microblaze by overwritting
>> with fixup-asm-unistd.h.
>
> Microblaze is the only architecture that undefines __ASSUME_PSELECT (for
> very old kernels), so it is the only one to actually trigger that
> fallback in select.c. I think that fallback could just be changed to
> use _newselect instead.
>
I would simpler indeed, I will update the patch.
More information about the Libc-alpha
mailing list