summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/bionic
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-05-19 22:38:07 -0700
committerAndy McFadden <fadden@android.com>2010-05-20 15:59:32 -0700
commit4fdbadde921ec17b4ff9e97fbd41096903b21772 (patch)
tree988de23c6495657f28fde4703ce656eb806e23cf /libc/arch-arm/bionic
parent8a1d2cf1422e35257c160ac5bb12dd3ee481c433 (diff)
downloadbionic-4fdbadde921ec17b4ff9e97fbd41096903b21772.zip
bionic-4fdbadde921ec17b4ff9e97fbd41096903b21772.tar.gz
bionic-4fdbadde921ec17b4ff9e97fbd41096903b21772.tar.bz2
Atomic/SMP update.
Added an underscore to _ARM_HAVE_LDREX_STREX to make it match the others. Added __ARM_HAVE_DMB and __ARM_HAVE_LDREXD when appropriate. Fixed some typos. Change-Id: I2f55febcff4aeb7de572a514fb2cd2f820dca27c
Diffstat (limited to 'libc/arch-arm/bionic')
-rw-r--r--libc/arch-arm/bionic/atomics_arm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/arch-arm/bionic/atomics_arm.S b/libc/arch-arm/bionic/atomics_arm.S
index 047541f..f2e369d 100644
--- a/libc/arch-arm/bionic/atomics_arm.S
+++ b/libc/arch-arm/bionic/atomics_arm.S
@@ -142,7 +142,7 @@ __atomic_inc:
/* r0(new) r1(addr) -> r0(old) */
/* replaced swp instruction with ldrex/strex for ARMv6 & ARMv7 */
__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