X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fassembly%2Fx86-64%2Falloc.lisp;h=63444e4590d98b9e7d3d655eeecb02d14641bef7;hb=e3113504fca73ebd1b992930315386d9d3ae5d18;hp=68a8ce33c31441fcbfe17c44a37f1937e81f76bb;hpb=c6538bf61955a67d0145aa3e6c937f6dd03f9e51;p=sbcl.git diff --git a/src/assembly/x86-64/alloc.lisp b/src/assembly/x86-64/alloc.lisp index 68a8ce3..63444e4 100644 --- a/src/assembly/x86-64/alloc.lisp +++ b/src/assembly/x86-64/alloc.lisp @@ -94,8 +94,7 @@ (emit-label get-tls-index-lock) (inst mov target 1) (zeroize rax-tn) - (inst lock) - (inst cmpxchg (make-ea-for-symbol-value *tls-index-lock*) target) + (inst cmpxchg (make-ea-for-symbol-value *tls-index-lock*) target :lock) (inst jmp :ne get-tls-index-lock) ;; The symbol is now in OTHER. (inst pop other)