arm64: Move the LSE gas support detection to Kconfig
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 15 Jan 2020 11:30:08 +0000 (11:30 +0000)
committerWill Deacon <will@kernel.org>
Wed, 15 Jan 2020 12:50:48 +0000 (12:50 +0000)
commit395af861377d14616c221831430f58e5786b92f1
tree1909143f89bcf648e8500b0ef303f59bf500daf9
parent42d519e3d0c071161d0a1c36e95a3743b113c590
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>
arch/arm64/Kconfig
arch/arm64/Makefile
arch/arm64/include/asm/atomic_ll_sc.h
arch/arm64/include/asm/lse.h
arch/arm64/kernel/cpufeature.c