x86/boot: Set EFI handover offset directly in header asm
authorArd Biesheuvel <ardb@kernel.org>
Fri, 15 Sep 2023 17:16:26 +0000 (17:16 +0000)
committerIngo Molnar <mingo@kernel.org>
Sun, 17 Sep 2023 17:48:42 +0000 (19:48 +0200)
commiteac956345f99dda3d68f4ae6cf7b494105e54780
treef49ea739e5483c0d739791764be115739a943d1a
parent2e765c02dcbfc2a8a4527c621a84b9502f6b9bd2
x86/boot: Set EFI handover offset directly in header asm

The offsets of the EFI handover entrypoints are available to the
assembler when constructing the header, so there is no need to set them
from the build tool afterwards.

This change has no impact on the resulting bzImage binary.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230915171623.655440-12-ardb@google.com
arch/x86/boot/header.S
arch/x86/boot/tools/build.c