x86/boot/compressed: Move efi32_pe_entry() out of head_64.S
authorArd Biesheuvel <ardb@kernel.org>
Tue, 22 Nov 2022 16:10:06 +0000 (17:10 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 22 Nov 2022 18:24:57 +0000 (19:24 +0100)
commit7f22ca396778fea9332d83ec2359dbe8396e9a06
tree82cff55db8be14e4e1030ad7583be9d81e53a496
parent73a6dec80e2acedaef3ca603d4b5799049f6e9f8
x86/boot/compressed: Move efi32_pe_entry() out of head_64.S

Move the implementation of efi32_pe_entry() into efi-mixed.S, which is a
more suitable location that only gets built if EFI mixed mode is
actually enabled.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221122161017.2426828-7-ardb@kernel.org
arch/x86/boot/compressed/efi_mixed.S
arch/x86/boot/compressed/head_64.S