diff options
author | Andres Freund <andres@anarazel.de> | 2014-09-09 13:57:38 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-09-09 13:57:38 +0200 |
commit | 50881036b17dc07cc61535d5bf27c56abaa4fbbb (patch) | |
tree | 3c13a35ebf745101d821a942d0bebd84145d1af1 | |
parent | 07968dbfaad03001db632a5c0ce4acccd5e463e2 (diff) | |
download | postgresql-50881036b17dc07cc61535d5bf27c56abaa4fbbb.tar.gz postgresql-50881036b17dc07cc61535d5bf27c56abaa4fbbb.zip |
Fix typo in solaris spinlock fix.
07968dbfaad03 missed part of the S_UNLOCK define when building for
sparcv8+.
-rw-r--r-- | src/include/storage/s_lock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 39917a41f2c..06dc963f87e 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -415,6 +415,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"); \ |