aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/cpufeature.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2020-01-15 11:30:07 +0000
committerWill Deacon <will@kernel.org>2020-01-15 12:50:36 +0000
commit42d519e3d0c071161d0a1c36e95a3743b113c590 (patch)
tree5bfe148ad9f8808c401b8c99be28410e4c3cf909 /arch/arm64/kernel/cpufeature.c
parentLinux 5.5-rc3 (diff)
downloadlinux-dev-42d519e3d0c071161d0a1c36e95a3743b113c590.tar.xz
linux-dev-42d519e3d0c071161d0a1c36e95a3743b113c590.zip
kbuild: Add support for 'as-instr' to be used in Kconfig files
Similar to 'cc-option' or 'ld-option', it is occasionally necessary to check whether the assembler supports certain ISA extensions. In the arm64 code we currently do this in Makefile with an additional define: lseinstr := $(call as-instr,.arch_extension lse,-DCONFIG_AS_LSE=1) Add the 'as-instr' option so that it can be used in Kconfig directly: def_bool $(as-instr,.arch_extension lse) Acked-by: Masahiro Yamada <masahiroy@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/kernel/cpufeature.c')
0 files changed, 0 insertions, 0 deletions