x86/boot/compressed: Move startup32_check_sev_cbit() out of head_64.S
authorArd Biesheuvel <ardb@kernel.org>
Tue, 22 Nov 2022 16:10:14 +0000 (17:10 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 24 Nov 2022 07:57:41 +0000 (08:57 +0100)
commit9d7eaae6a071ff1f718e0aa5e610bb712f8cc632
treeb360d71b095c7d24799e8d2ed585b8ee28348012
parentb5d854cd4b6a314edd6c15dabc4233b84a0f8e5e
x86/boot/compressed: Move startup32_check_sev_cbit() out of head_64.S

Now that the startup32_check_sev_cbit() routine can execute from
anywhere and behaves like an ordinary function, it can be moved 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-15-ardb@kernel.org
arch/x86/boot/compressed/head_64.S
arch/x86/boot/compressed/mem_encrypt.S