mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
powerpc: Fix __arch_compare_and_exchange_bool_64_rel
Fix a typo in the inline assembly.
This commit is contained in:
parent
467fec0bb4
commit
5fbb569186
@ -1,3 +1,8 @@
|
||||
2014-11-25 Anton Blanchard <anton@samba.org>
|
||||
|
||||
* sysdeps/powerpc/bits/atomic.h
|
||||
(__arch_compare_and_exchange_bool_64_rel): Load from mem.
|
||||
|
||||
2014-11-24 Sterling Augustine <saugustine@google.com>
|
||||
|
||||
* sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
|
||||
|
@ -100,7 +100,7 @@
|
||||
({ \
|
||||
unsigned long __tmp; \
|
||||
__asm __volatile (__ARCH_REL_INSTR "\n" \
|
||||
"1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \
|
||||
"1: ldarx %0,0,%1" MUTEX_HINT_REL "\n" \
|
||||
" subf. %0,%2,%0\n" \
|
||||
" bne 2f\n" \
|
||||
" stdcx. %3,0,%1\n" \
|
||||
|
Loading…
Reference in New Issue
Block a user