From: Andres Freund Date: Tue, 9 Sep 2014 11:57:38 +0000 (+0200) Subject: Fix typo in solaris spinlock fix. X-Git-Tag: REL9_0_19~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=030fd8afc882127c93ac10ce8d187fe46f5d72e2;p=thirdparty%2Fpostgresql.git Fix typo in solaris spinlock fix. 07968dbfaad03 missed part of the S_UNLOCK define when building for sparcv8+. --- diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index bc15e224efc..a83982b9c4e 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -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"); \