]> xenbits.xensource.com Git - people/aperard/linux.git/commit
x86/decompressor: Merge trampoline cleanup with switching code
authorArd Biesheuvel <ardb@kernel.org>
Mon, 7 Aug 2023 16:27:12 +0000 (18:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:45:14 +0000 (14:45 +0000)
commit463b51e90c576cd63269f8420c0a0b09152092e5
treee2a58bc705a76f3a7810b7887ede679c2300015d
parentdf3dec320b7c14780484e824f3ec9c213e4996e1
x86/decompressor: Merge trampoline cleanup with switching code

commit 03dda95137d3247564854ad9032c0354273a159d upstream.

Now that the trampoline setup code and the actual invocation of it are
all done from the C routine, the trampoline cleanup can be merged into
it as well, instead of returning to asm just to call another C function.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lore.kernel.org/r/20230807162720.545787-16-ardb@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/boot/compressed/head_64.S
arch/x86/boot/compressed/pgtable_64.c