efi/x86: Drop 'systab' member from struct efi
authorArd Biesheuvel <ardb@kernel.org>
Tue, 21 Jan 2020 09:16:32 +0000 (10:16 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commitfd26830423e5f7442001f090cd4a53f4b6c3d9fa
tree30ea986efc243e5b643f33f4d99ac6ba7c899278
parent8819ba39661efec88efd11610988424cb1bf99f8
efi/x86: Drop 'systab' member from struct efi

The systab member in struct efi has outlived its usefulness, now that
we have better ways to access the only piece of information we are
interested in after init, which is the EFI runtime services table
address. So instead of instantiating a doctored copy at early boot
with lots of mangled values, and switching the pointer when switching
into virtual mode, let's grab the values we need directly, and get
rid of the systab pointer entirely.

Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/platform/efi/efi.c
include/linux/efi.h