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/.gitignore | |
parent | 61922d3fa686733e08387a8a4e11b02b4af6d43c (diff) |
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/.gitignore')
-rw-r--r-- | arch/x86/.gitignore | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/.gitignore b/arch/x86/.gitignore index 677111acbaa3..f2e1d6c347fb 100644 --- a/arch/x86/.gitignore +++ b/arch/x86/.gitignore @@ -3,6 +3,4 @@ boot/compressed/vmlinux tools/test_get_len tools/insn_sanity tools/insn_decoder_test -purgatory/kexec-purgatory.c purgatory/purgatory.ro - |