summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Huang <jserv@0xlab.org>2010-08-09 05:38:12 +0800
committerJim Huang <jserv@0xlab.org>2010-08-09 05:42:41 +0800
commitfddc33858c857fe54d8c7f6527a3713580642252 (patch)
tree7f6529e640c6a74d293f8de694ff7cc4086c8267
parent0fcbdb4147858d40d581d3b034f5150962632943 (diff)
downloadsystem_core-fddc33858c857fe54d8c7f6527a3713580642252.zip
system_core-fddc33858c857fe54d8c7f6527a3713580642252.tar.gz
system_core-fddc33858c857fe54d8c7f6527a3713580642252.tar.bz2
libcutils: Reflect the naming change, __ARM_HAVE_LDREX_STREX, in bionic
This patch reflect the changes that macro _ARM_HAVE_LDREX_STREX had been renamed to __ARM_HAVE_LDREX_STREX in bionic. Change-Id: I03e8b9f95bdf6ed0da1f53326170f6ee57a37066
-rw-r--r--libcutils/atomic-android-arm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/atomic-android-arm.S b/libcutils/atomic-android-arm.S
index 1dd2363..4d98451 100644
--- a/libcutils/atomic-android-arm.S
+++ b/libcutils/atomic-android-arm.S
@@ -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