From: Nicolai Hähnle Date: Fri, 10 Nov 2017 11:32:44 +0000 (+0100) Subject: util/u_queue: really use futex-based fences X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81aabb20f38449973dbd9c003628986f947a9efb;p=mesa.git util/u_queue: really use futex-based fences The relevant define changed in the final revision of the simple mutex patch. Reviewed-by: Marek Olšák --- diff --git a/src/util/u_queue.h b/src/util/u_queue.h index 57753bd31bc..d49f713e6ad 100644 --- a/src/util/u_queue.h +++ b/src/util/u_queue.h @@ -49,7 +49,7 @@ extern "C" { #define UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY (1 << 0) #define UTIL_QUEUE_INIT_RESIZE_IF_FULL (1 << 1) -#if defined(__GNUC__) && defined(HAVE_FUTEX) +#if defined(__GNUC__) && defined(HAVE_LINUX_FUTEX_H) #define UTIL_QUEUE_FENCE_FUTEX #else #define UTIL_QUEUE_FENCE_STANDARD