projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a618da
)
gallium: add #warning to mutex-based atomic implementation
author
Keith Whitwell
<keithw@vmware.com>
Fri, 17 Apr 2009 09:17:59 +0000
(10:17 +0100)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_atomic.h
b/src/gallium/include/pipe/p_atomic.h
index f2fe083efa78416473014064978475789ab03f1a..7698ac5e03853443833eae7db653b96a9b014619 100644
(file)
--- 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;