[LTP] [PATCH] Define SYS_futex on 32bit arches using 64-bit time_t
Petr Vorel
pvorel@suse.cz
Mon Nov 16 08:08:57 CET 2020
Hi Khem,
> Newer 32bit arches like RISCV32 and ARC are using 64bit time_t
> from get go unlike other 32bit architecture therefore aliasing __NR_futex to
> __NR_futex_time64 helps avoid the below errors
> tst_checkpoint.c:99:17: error: use of undeclared identifier 'SYS_futex'
Thanks for your fix.
I wonder if this could be defined just in include/lapi/futex.h and this:
https://github.com/pevik/ltp/commit/a20107ab47554798e0de0347dd4d7259f01675af
Kind regards,
Petr
More information about the ltp
mailing list