Module: Mesa Branch: master Commit: 81aabb20f38449973dbd9c003628986f947a9efb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81aabb20f38449973dbd9c003628986f947a9efb
Author: Nicolai Hähnle <[email protected]> Date: Fri Nov 10 12:32:44 2017 +0100 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 <[email protected]> --- src/util/u_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/u_queue.h b/src/util/u_queue.h index 57753bd31b..d49f713e6a 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
