Skip to content

Commit 21dcc48

Browse files
committed
Fix typo in solaris spinlock fix.
07968db missed part of the S_UNLOCK define when building for sparcv8+.
1 parent 11687e7 commit 21dcc48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/storage/s_lock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ do \
457457
* #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate
458458
* release barrier for sparcv8+ upwards.
459459
*/
460+
#define S_UNLOCK(lock) \
460461
do \
461462
{ \
462463
__asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \

0 commit comments

Comments
 (0)