arm: use a_ll/a_sc atomics when building for ARMv6T2
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 19 Apr 2018 01:51:44 +0000 (18:51 -0700)
committerRich Felker <dalias@aerifal.cx>
Thu, 19 Apr 2018 16:36:37 +0000 (12:36 -0400)
commit8c2943f057c5f69cc6423c360b626bc1ad493230
tree0c2b3811a80af12ef6a02babca85ccf07e17b5ad
parent749a06b4c55d823d8a74b4e3f607c65006db271b
arm: use a_ll/a_sc atomics when building for ARMv6T2

ARMv6 cores with support for Thumb2 can take advantage of the "ldrex"
and "strex" based implementations of a_ll and a_sc.
arch/arm/atomic_arch.h