Merge "libcutils: Reflect the naming change, __ARM_HAVE_LDREX_STREX, in bionic"

This commit is contained in:
Jean-Baptiste Queru 2010-08-30 13:29:43 -07:00 committed by Android Code Review
commit 9682e24bae
1 changed files with 1 additions and 1 deletions

View File

@ -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