aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-07-27 14:11:55 +0100
committerWill Deacon <will.deacon@arm.com>2015-07-27 15:28:54 +0100
commitc739dc83a0b6db01abfbcc5246a30c7a575e4272 (patch)
tree4c054765573ba9f95b330ed28c15278295947de6 /arch/arm64/kernel
parentarm64: kconfig: select HAVE_CMPXCHG_LOCAL (diff)
downloadlinux-dev-c739dc83a0b6db01abfbcc5246a30c7a575e4272.tar.xz
linux-dev-c739dc83a0b6db01abfbcc5246a30c7a575e4272.zip
arm64: lse: rename ARM64_CPU_FEAT_LSE_ATOMICS for consistency
Other CPU features follow an 'ARM64_HAS_*' naming scheme, so do the same for the LSE atomics. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 97785c01acbf..82ae8429baf2 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -284,7 +284,7 @@ static void __init setup_processor(void)
default:
case 2:
elf_hwcap |= HWCAP_ATOMICS;
- cpus_set_cap(ARM64_CPU_FEAT_LSE_ATOMICS);
+ cpus_set_cap(ARM64_HAS_LSE_ATOMICS);
if (IS_ENABLED(CONFIG_AS_LSE) &&
IS_ENABLED(CONFIG_ARM64_LSE_ATOMICS))
pr_info("LSE atomics supported\n");