summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-05-29 15:57:47 +0200
committerWill Deacon <will.deacon@arm.com>2015-07-27 16:28:54 +0200
commit95eff6b27c40c7205f72f354712c3687d808e7f6 (patch)
tree05c293261a6d7aacda37539c35929fe528f21673 /arch
parentarm64: atomic64_dec_if_positive: fix incorrect branch condition (diff)
downloadlinux-95eff6b27c40c7205f72f354712c3687d808e7f6.tar.xz
linux-95eff6b27c40c7205f72f354712c3687d808e7f6.zip
arm64: kconfig: select HAVE_CMPXCHG_LOCAL
We implement an optimised cmpxchg_local macro, so let the kernel know. Reviewed-by: Steve Capper <steve.capper@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 8dabffa82ef8..e82b98dfc028 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -53,6 +53,7 @@ config ARM64
select HAVE_C_RECORDMCOUNT
select HAVE_CC_STACKPROTECTOR
select HAVE_CMPXCHG_DOUBLE
+ select HAVE_CMPXCHG_LOCAL
select HAVE_DEBUG_BUGVERBOSE
select HAVE_DEBUG_KMEMLEAK
select HAVE_DMA_API_DEBUG