aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-09-09 13:57:38 +0200
committerAndres Freund <andres@anarazel.de>2014-09-09 23:46:01 +0200
commit7288331b9bbb717846f715cefb6712b9521d7b38 (patch)
treed1838f119b6f04562848082a81386d08526900c2 /src
parent5af508f665b456bdc4b29873241d622823c7df5d (diff)
downloadpostgresql-7288331b9bbb717846f715cefb6712b9521d7b38.tar.gz
postgresql-7288331b9bbb717846f715cefb6712b9521d7b38.zip
Fix typo in solaris spinlock fix.
07968dbfaad03 missed part of the S_UNLOCK define when building for sparcv8+.
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/s_lock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index b75b89a2afb..d6df03f770c 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -385,6 +385,7 @@ do \
* #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate
* release barrier for sparcv8+ upwards.
*/
+#define S_UNLOCK(lock) \
do \
{ \
__asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \