efi/arm: Drop unnecessary references to efi.systab
authorArd Biesheuvel <ardb@kernel.org>
Mon, 20 Jan 2020 16:39:39 +0000 (17:39 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit8819ba39661efec88efd11610988424cb1bf99f8
tree2734cf0a5093ba27fe4000f890cee1b93167260c
parent59f2a619a2db86111e8bb30f349aebff6eb75baa
efi/arm: Drop unnecessary references to efi.systab

Instead of populating efi.systab very early during efi_init() with
a mapping that is released again before the function exits, use a
local variable here. Now that we use efi.runtime to access the runtime
services table, this removes the only reference efi.systab, so there is
no need to populate it anymore, or discover its virtually remapped
address. So drop the references entirely.

Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/arm-init.c
drivers/firmware/efi/arm-runtime.c