summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-04-17 10:17:59 +0100
committerKeith Whitwell <[email protected]>2009-04-17 11:02:07 +0100
commitdb93dcecc80a45e850b4594326fc453c950b54f5 (patch)
treec69f26efa8a7d01bf5ac563b0676384f3486f534
parent3a618da6e15a6dc4351eb933583569a1ecefc768 (diff)
gallium: add #warning to mutex-based atomic implementation
Some builds end up picking this up.
-rw-r--r--src/gallium/include/pipe/p_atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_atomic.h b/src/gallium/include/pipe/p_atomic.h
index f2fe083efa7..7698ac5e038 100644
--- a/src/gallium/include/pipe/p_atomic.h
+++ b/src/gallium/include/pipe/p_atomic.h
@@ -299,6 +299,7 @@ p_atomic_cmpxchg(struct pipe_atomic *v, int32_t old, int32_t _new)
* Add an assembly port instead. It may abort and
* doesn't destroy used mutexes.
*/
+#warning "using mutex-based fallback for pipe_atomic"
struct pipe_atomic {
pipe_mutex mutex;