amd64/atom: fix typo

main
anna 3 years ago
parent 38d9a9586d
commit abd9bb5d43
Signed by: fef
GPG Key ID: EC22E476DC2D3D84

@ -41,7 +41,7 @@ static inline long latom_cmp_xchg(latom_t *latom, long compare, long val)
__asm__ volatile(
" lock \n"
" cmpxchlq %1, (%2) \n" /* if ((rax = latom->_value) == compare) latom->_value = val */
" cmpxchgq %1, (%2) \n" /* if ((rax = latom->_value) == compare) latom->_value = val */
: "+a"(rax)
: "r"(val), "r"(&latom->_value)
: "cc", "memory"

Loading…
Cancel
Save