1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-17 06:41:24 +03:00

Fix typo in solaris spinlock fix.

07968dbfaad03 missed part of the S_UNLOCK define when building for
sparcv8+.
This commit is contained in:
Andres Freund 2014-09-09 13:57:38 +02:00
parent 27ef6b6530
commit bca91236a7

View File

@ -448,6 +448,7 @@ do \
* #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate * #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate
* release barrier for sparcv8+ upwards. * release barrier for sparcv8+ upwards.
*/ */
#define S_UNLOCK(lock) \
do \ do \
{ \ { \
__asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \ __asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \