aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2022-11-22 17:10:11 +0100
committerBorislav Petkov <[email protected]>2022-11-24 08:57:41 +0100
commitc6355995ba471d7ad574174e593192ce805c7e1a (patch)
tree169ca4498e04573ddd1d0ea37a97b0a3e8c326dc /drivers/fpga/xilinx-spi.c
parentd73a257f7f86871c3aac24dc20538e3983096647 (diff)
x86/boot/compressed: Move startup32_load_idt() into .text section
Convert startup32_load_idt() into an ordinary function and move it into the .text section. This involves turning the rva() immediates into ones derived from a local label, and preserving/restoring the %ebp and %ebx as per the calling convention. Also move the #ifdef to the only existing call site. This makes it clear that the function call does nothing if support for memory encryption is not compiled in. 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