Skip to content

Commit 5088103

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/storage/s_lock.h

+1
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ do \
415415
* #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate
416416
* release barrier for sparcv8+ upwards.
417417
*/
418+
#define S_UNLOCK(lock) \
418419
do \
419420
{ \
420421
__asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \

0 commit comments

Comments
 (0)