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

Davidlohr Bueso dave at stgolabs.net
Fri Sep 17 11:33:28 PDT 2021


On Fri, 17 Sep 2021, Alistair Francis wrote:

>From: Alistair Francis <alistair.francis at wdc.com>
>
>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 at suse.de>



More information about the linux-riscv mailing list