diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-01-29 21:05:06 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-01-31 20:31:21 +0300 |
commit | 15675706241887ed7fdad9e91f4bf977b9896d0f (patch) | |
tree | ba0f437fa50ee66c9049e0f0fbb46a76d110b8b2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff) | |
download | linux-15675706241887ed7fdad9e91f4bf977b9896d0f.tar.xz |
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 <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240129180502.4069817-24-ardb+git@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions