x86: remove always-defined CONFIG_AS_CFI
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 26 Mar 2020 08:00:51 +0000 (17:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 15:01:59 +0000 (00:01 +0900)
commit0f2661c4b935e5aa7d309f6c5072d4c49465137f
tree8391daadd6a920e987b3b3e714a38e37281ec4b9
parent418d6e295e4375e1097c511da11795e592aedbeb
x86: remove always-defined CONFIG_AS_CFI

CONFIG_AS_CFI was introduced by commit e2414910f212 ("[PATCH] x86:
Detect CFI support in the assembler at runtime"), and extended by
commit f0f12d85af85 ("x86_64: Check for .cfi_rel_offset in CFI probe").

We raise the minimal supported binutils version from time to time.
The last bump was commit 1fb12b35e5ff ("kbuild: Raise the minimum
required binutils version to 2.21").

I confirmed the code in $(call as-instr,...) can be assembled by the
binutils 2.21 assembler and also by LLVM integrated assembler.

Remove CONFIG_AS_CFI, which is always defined.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Makefile
arch/x86/include/asm/dwarf2.h