efi: x86: move mixed mode stack PA variable out of 'efi_scratch'
authorArd Biesheuvel <ardb@kernel.org>
Tue, 19 Jan 2021 14:16:27 +0000 (15:16 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 19 Jan 2021 16:57:16 +0000 (17:57 +0100)
commit3e1e00c00e2b9b5c9a2f47f1c67720a5d430e4d0
tree2dc5f53b3bee45b42c43d7b9e43a871b8ee1719b
parent3820749ddcee694abfd5ae6cabc18aaab11eab34
efi: x86: move mixed mode stack PA variable out of 'efi_scratch'

As a first step to removing the awkward 'struct efi_scratch' definition
that conveniently combines the storage of the mixed mode stack pointer
with the MM pointer variable that records the task's MM pointer while it
is being replaced with the EFI MM one, move the mixed mode stack pointer
into a separate variable.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
arch/x86/platform/efi/efi_64.c
arch/x86/platform/efi/efi_thunk_64.S