(__lll_test_and_set): Fix typos.
This commit is contained in:
parent
9465949559
commit
ca341eb2bd
|
@ -103,8 +103,8 @@
|
|||
#define __lll_test_and_set(futex, newval) \
|
||||
({ int __val; \
|
||||
__asm __volatile (__lll_rel_instr "\n" \
|
||||
"1: lwarx %0,0,%3\n" \
|
||||
" stwcx. %2,0,%3\n" \
|
||||
"1: lwarx %0,0,%2\n" \
|
||||
" stwcx. %3,0,%2\n" \
|
||||
" bne- 1b" \
|
||||
: "=&r" (__val), "=m" (*futex) \
|
||||
: "r" (futex), "r" (newval), "1" (*futex) \
|
||||
|
|
Loading…
Reference in New Issue