x86/cpu: Remove X86_FEATURE_NAMES
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 10 May 2023 06:57:13 +0000 (08:57 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 15 May 2023 18:03:08 +0000 (20:03 +0200)
commit7583e8fbdc49a4dbd916d14863cf1deeddb982f9
treec6fc8b751b665644d7c4d247bad65d367bba49f8
parent424e23fd6c30ec204c1c77919066ae777577a4f9
x86/cpu: Remove X86_FEATURE_NAMES

While discussing to change the visibility of X86_FEATURE_NAMES (see Link)
in order to remove CONFIG_EMBEDDED, Boris suggested to simply make the
X86_FEATURE_NAMES functionality unconditional.

As the need for really tiny kernel images has gone away and kernel images
with !X86_FEATURE_NAMES are hardly tested, remove this config and the whole
ifdeffery in the source code.

Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/all/20230509084007.24373-1-lukas.bulwahn@gmail.com/
Link: https://lore.kernel.org/r/20230510065713.10996-3-lukas.bulwahn@gmail.com
arch/x86/Kconfig
arch/x86/Kconfig.cpu
arch/x86/boot/Makefile
arch/x86/boot/cpu.c
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/common.c