]> 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:37:50 +0000 (23:37 +0200)
07968dbfaad03 missed part of the S_UNLOCK define when building for
sparcv8+.

src/include/storage/s_lock.h

index adeb88c4893acf4cb1aec0e916f3aa4fb7e9fec2..85fd0d54b5a066c472fc66107428a9f11db8cde5 100644 (file)
@@ -447,6 +447,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"); \