From: Michael Jeanson Date: Thu, 10 Dec 2020 21:52:30 +0000 (-0500) Subject: Use DMB only on ARMv7 X-Git-Tag: v0.13.0~44 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=9260f372503da28b709498280ebca39f4331d1e1;hp=9260f372503da28b709498280ebca39f4331d1e1;p=urcu.git Use DMB only on ARMv7 Remove the configure time CONFIG_RCU_ARM_HAVE_DMB option and replace it by compile time detection based on the ARM ISA version. This makes sure we unconditionnaly use the DMB instruction only on ARMv7 where it's part of the baseline ISA. This will change the behavior on ARMv6 platform that possibly have this instruction but it was probably already broken since we use the 'ISH' option which doesn't seem to be valid on this ISA. This will also allow sharing headers in a multi-arch environment and reduce the build system complexity. Signed-off-by: Michael Jeanson Cc: Jason Wessel Signed-off-by: Mathieu Desnoyers Change-Id: I8e56ada55148d8e0f198c3d2e741ea414de5fef2 ---