diff options
author | Will Deacon <will.deacon@arm.com> | 2015-07-27 15:11:55 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-07-27 16:28:54 +0200 |
commit | c739dc83a0b6db01abfbcc5246a30c7a575e4272 (patch) | |
tree | 4c054765573ba9f95b330ed28c15278295947de6 /arch/arm64/include/asm/lse.h | |
parent | arm64: kconfig: select HAVE_CMPXCHG_LOCAL (diff) | |
download | linux-c739dc83a0b6db01abfbcc5246a30c7a575e4272.tar.xz linux-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/include/asm/lse.h')
-rw-r--r-- | arch/arm64/include/asm/lse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/lse.h b/arch/arm64/include/asm/lse.h index fb3ac56a2cc0..3de42d68611d 100644 --- a/arch/arm64/include/asm/lse.h +++ b/arch/arm64/include/asm/lse.h @@ -12,7 +12,7 @@ .arch_extension lse .macro alt_lse, llsc, lse - alternative_insn "\llsc", "\lse", ARM64_CPU_FEAT_LSE_ATOMICS + alternative_insn "\llsc", "\lse", ARM64_HAS_LSE_ATOMICS .endm #else /* __ASSEMBLER__ */ @@ -29,7 +29,7 @@ __asm__(".arch_extension lse"); /* In-line patching at runtime */ #define ARM64_LSE_ATOMIC_INSN(llsc, lse) \ - ALTERNATIVE(llsc, lse, ARM64_CPU_FEAT_LSE_ATOMICS) + ALTERNATIVE(llsc, lse, ARM64_HAS_LSE_ATOMICS) #endif /* __ASSEMBLER__ */ #else /* CONFIG_AS_LSE && CONFIG_ARM64_LSE_ATOMICS */ |