diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-07-25 11:08:12 +0900 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-07-25 10:32:32 +0200 |
commit | 2d17bd24b0169d3fdbf003dfd55af600e9a30553 (patch) | |
tree | 2db57e29d2a0658133645786e030966aba439c72 /arch/x86/Kconfig | |
parent | 61922d3fa686733e08387a8a4e11b02b4af6d43c (diff) | |
download | linux-2d17bd24b0169d3fdbf003dfd55af600e9a30553.tar.gz |
x86/purgatory: Omit use of bin2c
The .incbin assembler directive is much faster than bin2c + $(CC). Do similar refactoring as in 4c0f032d4963 ("s390/purgatory: Omit use of bin2c"). Please note the .quad directive matches to size_t in C (both 8 byte) because the purgatory is compiled only for the 64-bit kernel. (KEXEC_FILE depends on X86_64). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220725020812.622255-2-masahiroy@kernel.org
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 076adde7ead9..901cb59d3a90 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2032,7 +2032,6 @@ config KEXEC config KEXEC_FILE bool "kexec file based system call" select KEXEC_CORE - select BUILD_BIN2C depends on X86_64 depends on CRYPTO=y depends on CRYPTO_SHA256=y |