From 7679eff0f6bdd840146265082e818bc7ad3e975b Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Tue, 9 Sep 2014 13:57:38 +0200 Subject: [PATCH] Fix typo in solaris spinlock fix. 07968dbfaad03 missed part of the S_UNLOCK define when building for sparcv8+. --- src/include/storage/s_lock.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index adeb88c489..85fd0d54b5 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -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"); \ -- 2.40.0