aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/setup.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-07-27 09:11:55 -0400
committerWill Deacon <will.deacon@arm.com>2015-07-27 10:28:54 -0400
commitc739dc83a0b6db01abfbcc5246a30c7a575e4272 (patch)
tree4c054765573ba9f95b330ed28c15278295947de6 /arch/arm64/kernel/setup.c
parent95eff6b27c40c7205f72f354712c3687d808e7f6 (diff)
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/setup.c')
-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)
284 default: 284 default:
285 case 2: 285 case 2:
286 elf_hwcap |= HWCAP_ATOMICS; 286 elf_hwcap |= HWCAP_ATOMICS;
287 cpus_set_cap(ARM64_CPU_FEAT_LSE_ATOMICS); 287 cpus_set_cap(ARM64_HAS_LSE_ATOMICS);
288 if (IS_ENABLED(CONFIG_AS_LSE) && 288 if (IS_ENABLED(CONFIG_AS_LSE) &&
289 IS_ENABLED(CONFIG_ARM64_LSE_ATOMICS)) 289 IS_ENABLED(CONFIG_ARM64_LSE_ATOMICS))
290 pr_info("LSE atomics supported\n"); 290 pr_info("LSE atomics supported\n");