efi: split off remapping code from efi_config_init()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 18 Oct 2014 13:04:15 +0000 (15:04 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 12 Jan 2015 08:16:55 +0000 (08:16 +0000)
commit7bb68410ef22067b08fd52887875b8f337f89dcc
tree90679b30e295a4d2333a69b0b726fa80d5ba9b46
parent8ce837cee8f51fb0eacb32c85461ea2f0fafc9f8
efi: split off remapping code from efi_config_init()

Split of the remapping code from efi_config_init() so that the caller
can perform its own remapping. This is necessary to correctly handle
virtually remapped UEFI memory regions under kexec, as efi.systab will
have been updated to a virtual address.

Acked-by: Matt Fleming <matt.fleming@intel.com>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
drivers/firmware/efi/efi.c
include/linux/efi.h