Add missing .mips0 at the end of inline assembler code.
This commit is contained in:
parent
f0cd8b6f6d
commit
979b9fea6f
|
@ -52,7 +52,8 @@ _test_and_set (int *p, int v) __THROW
|
|||
".set pop\n\t"
|
||||
"sc %1,%2\n\t"
|
||||
"beqz %1,1b\n"
|
||||
"2:"
|
||||
"2:\n\t"
|
||||
".set\tmips0"
|
||||
: "=&r" (r), "=&r" (t), "=m" (*p)
|
||||
: "m" (*p), "r" (v)
|
||||
: "memory");
|
||||
|
|
Loading…
Reference in New Issue