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

commit 9d7eaae6a0 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ard Biesheuvel 2022-11-22 17:10:14 +01:00 • committed by Greg Kroah-Hartman
commit 0912dce9ed
2 changed files with 68 additions and 71 deletions