gallium: add #warning to mutex-based atomic implementation
authorKeith Whitwell <keithw@vmware.com>
Fri, 17 Apr 2009 09:17:59 +0000 (10:17 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 17 Apr 2009 10:02:07 +0000 (11:02 +0100)
Some builds end up picking this up.

src/gallium/include/pipe/p_atomic.h

index f2fe083..7698ac5 100644 (file)
@@ -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;