projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e8311
)
util/u_queue: really use futex-based fences
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Fri, 10 Nov 2017 11:32:44 +0000
(12:32 +0100)
committer
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Mon, 20 Nov 2017 17:15:53 +0000
(18:15 +0100)
The relevant define changed in the final revision of the simple mutex
patch.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/u_queue.h
patch
|
blob
|
history
diff --git
a/src/util/u_queue.h
b/src/util/u_queue.h
index 57753bd31bca8f3ac102ba39d2dd326a1883691c..d49f713e6ad3b49ad1e458170c275c13393bdab0 100644
(file)
--- 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