mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +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:
parent
07968dbfaa
commit
50881036b1
@ -415,6 +415,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"); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user