Commit 50881036 authored by Andres Freund's avatar Andres Freund

Fix typo in solaris spinlock fix.

07968dbf missed part of the S_UNLOCK define when building for
sparcv8+.
parent 07968dbf
...@@ -415,6 +415,7 @@ do \ ...@@ -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"); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment