Merge "libcutils: Reflect the naming change, __ARM_HAVE_LDREX_STREX, in bionic"
This commit is contained in:
commit
9682e24bae
|
@ -237,7 +237,7 @@ android_atomic_or:
|
|||
|
||||
/* replaced swp instruction with ldrex/strex for ARMv6 & ARMv7 */
|
||||
android_atomic_swap:
|
||||
#if defined (_ARM_HAVE_LDREX_STREX)
|
||||
#if defined (__ARM_HAVE_LDREX_STREX)
|
||||
1: ldrex r2, [r1]
|
||||
strex r3, r0, [r1]
|
||||
teq r3, #0
|
||||
|
|
Loading…
Reference in New Issue