Re: [PATCH v3 2/2] perf bench: Add support for 32-bit systems with 64-bit time_t

From: Davidlohr Bueso
Date: Fri Sep 17 2021 - 14:33:45 EST


On Fri, 17 Sep 2021, Alistair Francis wrote:

From: Alistair Francis <alistair.francis@xxxxxxx>

Some 32-bit architectures (such are 32-bit RISC-V) only have a 64-bit
time_t and as such don't have the SYS_futex syscall. This patch will
allow us to use the SYS_futex_time64 syscall on those platforms.

Not objecting, but this ifdefiry will hurt my eyes every time I have
to look at this file :)

Acked-by: Davidlohr Bueso <dbueso@xxxxxxx>