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 07968dbfaa
commit 50881036b1

View File

@ -415,6 +415,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"); \