]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/nolibc: use pselect6_time64 if available
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 11 Apr 2025 09:00:40 +0000 (11:00 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Tue, 22 Apr 2025 08:56:25 +0000 (10:56 +0200)
commit248ddc80b145515286bfb75d08034ad4c0fdb08e
treed38944fdf6622ad9956146e4abcaf8656fd66f6d
parente5407c0820ea5fa7117b85ed32b724af73156d63
tools/nolibc: use pselect6_time64 if available

riscv32 does not have any of the older select systemcalls.
Use pselect6_time64 instead.
poll() is also used to implement sleep().

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/sys.h