diff options
author | Ard Biesheuvel <[email protected]> | 2024-01-29 19:05:06 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-01-31 18:31:21 +0100 |
commit | 15675706241887ed7fdad9e91f4bf977b9896d0f (patch) | |
tree | ba0f437fa50ee66c9049e0f0fbb46a76d110b8b2 /arch/x86/boot/compressed/misc.c | |
parent | 41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff) |
x86/startup_64: Drop long return to initial_code pointer
Since
866b556efa12 ("x86/head/64: Install startup GDT")
the primary startup sequence sets the code segment register (CS) to
__KERNEL_CS before calling into the startup code shared between primary
and secondary boot.
This means a simple indirect call is sufficient here.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/boot/compressed/misc.c')
0 files changed, 0 insertions, 0 deletions