]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:26 +0000 (09:25 +0100)
commit431b39e62594c440dd8f80591a1d928f2095db13
treefa4ddbb0094b57e137217e6451c2f74b2a9d0c36
parent8e102324e743ea5c120058e3ff1bc2834213015a
x86/boot: Set EFI handover offset directly in header asm

commit eac956345f99dda3d68f4ae6cf7b494105e54780 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/boot/header.S
arch/x86/boot/tools/build.c