From b8a8263858e68474af1a0b0fb7925f256f7fd70e Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 17 Aug 2014 21:29:51 +0200 Subject: [PATCH] arch/arm: always has atomic ops armv6 and above all have one sort of atomic ops or another. For armv5 and below, they are emulated, either as a kernel trap, a kernel VDSO, or compiler intrinsics. Aarch64 is just armv8, so make it a single commit. ;-) Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Cc: Anton Kolesov Signed-off-by: Peter Korsgaard --- arch/Config.in.aarch64 | 3 +++ arch/Config.in.arm | 3 +++ 2 files changed, 6 insertions(+) diff --git a/arch/Config.in.aarch64 b/arch/Config.in.aarch64 index 4c68a378c2..2e79870b34 100644 --- a/arch/Config.in.aarch64 +++ b/arch/Config.in.aarch64 @@ -3,3 +3,6 @@ config BR2_ARCH config BR2_ENDIAN default "LITTLE" + +config BR2_ARCH_HAS_ATOMICS + default y diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 4cc41f10a1..e404a505f5 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -340,6 +340,9 @@ config BR2_ENDIAN default "LITTLE" if BR2_arm default "BIG" if BR2_armeb +config BR2_ARCH_HAS_ATOMICS + default y + config BR2_GCC_TARGET_CPU default "arm920" if BR2_arm920 default "arm920t" if BR2_arm920t -- 2.30.2