diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2020-01-15 15:18:25 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-15 17:35:12 +0100 |
commit | 8bf9284d99dcb1c8fbdfabde1979350cf41fa5f5 (patch) | |
tree | 867e0732923abbfe304444f90b9bb9976e6ff83c /arch/arm64/Kconfig | |
parent | arm64: Move the LSE gas support detection to Kconfig (diff) | |
download | linux-8bf9284d99dcb1c8fbdfabde1979350cf41fa5f5.tar.xz linux-8bf9284d99dcb1c8fbdfabde1979350cf41fa5f5.zip |
arm64: Turn "broken gas inst" into real config option
Use the new 'as-instr' Kconfig macro to define CONFIG_BROKEN_GAS_INST
directly, making it available everywhere.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
[will: Drop redundant 'y if' logic]
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index cf3b6d2a67cf..8a35f776c7f1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -301,6 +301,9 @@ config ARCH_SUPPORTS_UPROBES config ARCH_PROC_KCORE_TEXT def_bool y +config BROKEN_GAS_INST + def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) + config KASAN_SHADOW_OFFSET hex depends on KASAN |