x86/boot/compressed: Move startup32_load_idt() out of head_64.S

commit 9ea813be3d upstream.

Now that startup32_load_idt() has been refactored into an ordinary
callable function, move it into mem-encrypt.S where it belongs.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221122161017.2426828-13-ardb@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ard Biesheuvel 2022-11-22 17:10:12 +01:00 • committed by Greg Kroah-Hartman
commit 801873f175
2 changed files with 71 additions and 73 deletions