diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-09-17 17:36:19 +0200 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2023-10-12 21:14:13 +0200 |
commit | eaa8c9a8b4027e4f780ebd2f6d0e91812467f312 (patch) | |
tree | dcce6d51c56faba6f802220984c35ac10ab992d2 /tools/include/nolibc/arch-riscv.h | |
parent | e7b28f2516a6aec54e2aa1485e4806e8d8431815 (diff) |
tools/nolibc: automatically detect necessity to use pselect6
We can automatically detect if pselect6 is needed or not from the kernel
headers. This removes the need to manually specify it.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20230917-nolibc-syscall-nr-v2-4-03863d509b9a@weissschuh.net
Diffstat (limited to 'tools/include/nolibc/arch-riscv.h')
-rw-r--r-- | tools/include/nolibc/arch-riscv.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/include/nolibc/arch-riscv.h b/tools/include/nolibc/arch-riscv.h index 950cc2283fd7..1927c643c739 100644 --- a/tools/include/nolibc/arch-riscv.h +++ b/tools/include/nolibc/arch-riscv.h @@ -19,10 +19,7 @@ * - the arguments are cast to long and assigned into the target * registers which are then simply passed as registers to the asm code, * so that we don't have to experience issues with register constraints. - * - * On riscv, select() is not implemented so we have to use pselect6(). */ -#define __ARCH_WANT_SYS_PSELECT6 #define my_syscall0(num) \ ({ \ |