diff options
author | Ard Biesheuvel <[email protected]> | 2022-11-22 17:10:10 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-11-24 08:57:41 +0100 |
commit | d73a257f7f86871c3aac24dc20538e3983096647 (patch) | |
tree | b76b86623114c1c36e5013c1814d90d8da1daa70 /drivers/fpga/xilinx-spi.c | |
parent | 6aac80a8da46d70f2ae7ff97c9f45a15c7c9b3ef (diff) |
x86/boot/compressed: Pull global variable reference into startup32_load_idt()
In preparation for moving startup32_load_idt() out of head_64.S and
turning it into an ordinary function using the ordinary 32-bit calling
convention, pull the global variable reference to boot32_idt up into
startup32_load_idt() so that startup32_set_idt_entry() does not need to
discover its own runtime physical address, which will no longer be
correlated with startup_32 once this code is moved into .text.
While at it, give startup32_set_idt_entry() static linkage.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions