]> granicus.if.org Git - postgresql/commitdiff
Fix typo in solaris spinlock fix.
authorAndres Freund <andres@anarazel.de>
Tue, 9 Sep 2014 11:57:38 +0000 (13:57 +0200)
committerAndres Freund <andres@anarazel.de>
Tue, 9 Sep 2014 21:46:01 +0000 (23:46 +0200)
07968dbfaad03 missed part of the S_UNLOCK define when building for
sparcv8+.

src/include/storage/s_lock.h

index b75b89a2afba6e57d82c56295f809cd23c2c7b74..d6df03f770c3835b74c5155fd1ff44b9176974aa 100644 (file)
@@ -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"); \