Skip to content

Commit bca9123

Browse files
committed
Fix typo in solaris spinlock fix.
07968db missed part of the S_UNLOCK define when building for sparcv8+.
1 parent 27ef6b6 commit bca9123

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
@@ -448,6 +448,7 @@ do \
448448
* #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate
449449
* release barrier for sparcv8+ upwards.
450450
*/
451+
#define S_UNLOCK(lock) \
451452
do \
452453
{ \
453454
__asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \

0 commit comments

Comments
 (0)