From: Mikael Urankar Date: Mon, 19 Jun 2017 08:13:14 +0000 (+0200) Subject: Workaround misspelling in GCC to detect ARMv6KZ platform X-Git-Tag: v7.6.2~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2689d20e979040af07dbf7ce07067e8b1d39bb44;p=libatomic_ops Workaround misspelling in GCC to detect ARMv6KZ platform Issue #26 (libatomic_ops). Due to a misspelling in GCC, the check for the ARMv6KZ platform uses ARM_ARCH_6ZK macro instead of ARM_ARCH_6KZ. * src/atomic_ops/sysdeps/gcc/arm.h (AO_ARM_HAVE_DMB): Do not define if __ARM_ARCH_6KZ__. --- diff --git a/src/atomic_ops/sysdeps/gcc/arm.h b/src/atomic_ops/sysdeps/gcc/arm.h index 8ad4be2..8a65e2a 100644 --- a/src/atomic_ops/sysdeps/gcc/arm.h +++ b/src/atomic_ops/sysdeps/gcc/arm.h @@ -73,7 +73,8 @@ # if !defined(__ARM_ARCH_6__) && !defined(__ARM_ARCH_6J__) \ && !defined(__ARM_ARCH_6T2__) && !defined(__ARM_ARCH_6Z__) \ && !defined(__ARM_ARCH_6ZT2__) -# if !defined(__ARM_ARCH_6K__) && !defined(__ARM_ARCH_6ZK__) +# if !defined(__ARM_ARCH_6K__) && !defined(__ARM_ARCH_6KZ__) \ + && !defined(__ARM_ARCH_6ZK__) /* DMB is present in ARMv6M and ARMv7+. */ # define AO_ARM_HAVE_DMB # endif