projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ecd51d
)
Fix broken #ifdef for __sparcv8
author
Heikki Linnakangas
Fri, 13 Feb 2015 21:51:23 +0000
(23:51 +0200)
committer
Heikki Linnakangas
Fri, 13 Feb 2015 21:57:05 +0000
(23:57 +0200)
Rob Rowan. Backpatch to all supported versions, like the patch that added
the broken #ifdef.
src/include/storage/s_lock.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/storage/s_lock.h
b/src/include/storage/s_lock.h
index e1719e208c30a9592ecfff85d0794afb4e200b0e..f0322dad7ffdc1cef8b8c7c7f91b1fae0e5c09af 100644
(file)
--- a/
src/include/storage/s_lock.h
+++ b/
src/include/storage/s_lock.h
@@
-435,7
+435,7
@@
tas(volatile slock_t *lock)
* requires a barrier.
*/
#define S_UNLOCK(lock) (*((volatile slock_t *) (lock)) = 0)
-#elif
__sparcv8
+#elif
defined(__sparcv8)
/* stbar is available (and required for both PSO, RMO), membar isn't */
#define S_UNLOCK(lock) \
do \