Skip to content

Commit 7679eff

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

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

0 commit comments

Comments
 (0)