From: Keith Whitwell Date: Fri, 17 Apr 2009 09:17:59 +0000 (+0100) Subject: gallium: add #warning to mutex-based atomic implementation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db93dcecc80a45e850b4594326fc453c950b54f5;p=mesa.git gallium: add #warning to mutex-based atomic implementation Some builds end up picking this up. --- 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;