diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2020-01-15 11:30:08 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-15 12:50:48 +0000 |
commit | 395af861377d14616c221831430f58e5786b92f1 (patch) | |
tree | 1909143f89bcf648e8500b0ef303f59bf500daf9 /arch/arm64/Kconfig | |
parent | 42d519e3d0c071161d0a1c36e95a3743b113c590 (diff) | |
download | lwn-395af861377d14616c221831430f58e5786b92f1.tar.gz lwn-395af861377d14616c221831430f58e5786b92f1.zip |
arm64: Move the LSE gas support detection to Kconfig
As the Kconfig syntax gained support for $(as-instr) tests, move the LSE
gas support detection from Makefile to the main arm64 Kconfig and remove
the additional CONFIG_AS_LSE definition and check.
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Tested-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index b1b4476ddb83..cf3b6d2a67cf 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1363,6 +1363,11 @@ config ARM64_PAN instruction if the cpu does not implement the feature. config ARM64_LSE_ATOMICS + bool + default ARM64_USE_LSE_ATOMICS + depends on $(as-instr,.arch_extension lse) + +config ARM64_USE_LSE_ATOMICS bool "Atomic instructions" depends on JUMP_LABEL default y |