diff options
author | Andres Freund <andres@anarazel.de> | 2014-09-09 13:57:38 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-09-09 23:36:32 +0200 |
commit | 21dcc48dc7ec48bf7b2a40c619e1c96ca4d2477c (patch) | |
tree | 972da306d08f2790b08b547ce56cb3fd7a49aff0 /src | |
parent | 11687e728d726a8ab3c9e165e4f7d962013f46ab (diff) | |
download | postgresql-21dcc48dc7ec48bf7b2a40c619e1c96ca4d2477c.tar.gz postgresql-21dcc48dc7ec48bf7b2a40c619e1c96ca4d2477c.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.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 7ad903860d1..48583f8fc22 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -457,6 +457,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"); \ |