From 0afb29b2ecac5c182536e1deae299adce8ce4a4f Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 30 Nov 2020 11:39:38 -0500 Subject: [PATCH] fix: typo in futex syscall define check Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: I59a654e381f3ad236a6d25c67316d04c84ddcded --- include/urcu/futex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/urcu/futex.h b/include/urcu/futex.h index 039d393..5e1db47 100644 --- a/include/urcu/futex.h +++ b/include/urcu/futex.h @@ -56,7 +56,7 @@ extern int compat_futex_noasync(int32_t *uaddr, int op, int32_t val, extern int compat_futex_async(int32_t *uaddr, int op, int32_t val, const struct timespec *timeout, int32_t *uaddr2, int32_t val3); -#if (defined(__linux__) && defined(__NR_futex_)) +#if (defined(__linux__) && defined(__NR_futex)) /* For backwards compat */ #define CONFIG_RCU_HAVE_FUTEX 1 -- 2.34.1