Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9682e24b authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Code Review
Browse files

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

parents 705ab8db fddc3385
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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