From: Ard Biesheuvel Date: Mon, 20 Jan 2020 13:58:09 +0000 (+0100) Subject: efi/ia64: Switch to efi_config_parse_tables() X-Git-Tag: v5.10.7~2527^2~36^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=686312927b13fc30b23b0e0f9be097c292343048;p=platform%2Fkernel%2Flinux-rpi.git efi/ia64: Switch to efi_config_parse_tables() IA64 calls efi_config_parse_tables() via efi_config_init(), which does an explicit memremap() of the tables, which is unnecessary on IA64. So let's call efi_config_parse_tables() directly, passing the __va() of the config table array. Tested-by: Tony Luck # arch/ia64 Signed-off-by: Ard Biesheuvel --- diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 81bc5031a115..3b5cf551489c 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -531,7 +531,10 @@ efi_init (void) palo_phys = EFI_INVALID_TABLE_ADDR; - if (efi_config_init(arch_tables) != 0) + if (efi_config_parse_tables(__va(efi_systab->tables), + efi_systab->nr_tables, + sizeof(efi_config_table_t), + arch_tables) != 0) return; if (palo_phys != EFI_INVALID_TABLE_ADDR)