efi: Make efi_config_init() x86 only
authorArd Biesheuvel <ardb@kernel.org>
Mon, 20 Jan 2020 16:17:27 +0000 (17:17 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit3a0701dc7ff8ebe1031a9f64c99c638929cd2d70
treebd12a07fe7aafb7c164d4e1135afc76e470ce04b
parent686312927b13fc30b23b0e0f9be097c292343048
efi: Make efi_config_init() x86 only

The efi_config_init() routine is no longer shared with ia64 so let's
move it into the x86 arch code before making further x86 specific
changes to it.

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