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:37:33 +0200
commitbca91236a7531fdd6562280156823db2c4f891b8 (patch)
tree6a83c72731205851a8068bb03110fa5bf9cae643 /src
parent27ef6b65308c28836b08a5f5b16e03d37a905ad9 (diff)
downloadpostgresql-bca91236a7531fdd6562280156823db2c4f891b8.tar.gz
postgresql-bca91236a7531fdd6562280156823db2c4f891b8.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 b0c54128616..e1719e208c3 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -448,6 +448,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"); \