]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29a22b2d0025ffb2bc8c5f1dc07a0726305c2264
tree2dc5f53b3bee45b42c43d7b9e43a871b8ee1719b
parentdea88eb9b4649fd98fbb7e8fe24a43247b2dc32a
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