Skip to content

Commit 7288331

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

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
@@ -385,6 +385,7 @@ do \
385385
* #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate
386386
* release barrier for sparcv8+ upwards.
387387
*/
388+
#define S_UNLOCK(lock) \
388389
do \
389390
{ \
390391
__asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \

0 commit comments

Comments
 (0)