1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-20 05:03:10 +03:00

Fix typo in solaris spinlock fix.

07968dbfaa 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 f25e896016
commit 030fd8afc8

View 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"); \