Re: [PATCH v3 1/2] perf benchmark: Call the futex syscall from a function

From: Davidlohr Bueso
Date: Fri Sep 17 2021 - 14:21:31 EST


On Fri, 17 Sep 2021, Alistair Francis wrote:

From: Alistair Francis <alistair.francis@xxxxxxx>

In preparation for a more complex futex() function let's convert the
current macro into two functions. We need two functions to avoid
compiler failures as the macro is overloaded.

This will allow us to include pre-processor conditionals in the futex
syscall functions.

Signed-off-by: Alistair Francis <alistair.francis@xxxxxxx>

Acked-by: Davidlohr Bueso <dbueso@xxxxxxx>