efi: x86: move efi_is_table_address() into arch/x86
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 25 Jun 2019 13:36:45 +0000 (15:36 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 8 Aug 2019 08:01:48 +0000 (11:01 +0300)
commite55f31a599478fb06a5a5d95e019e963322535cb
tree13cc7acad2d7c295160f6792f082e38b817ae98a
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
efi: x86: move efi_is_table_address() into arch/x86

The function efi_is_table_address() and the associated array of table
pointers is specific to x86. Since we will be adding some more x86
specific tables, let's move this code out of the generic code first.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/x86/include/asm/efi.h
arch/x86/mm/ioremap.c
arch/x86/platform/efi/efi.c
drivers/firmware/efi/efi.c
include/linux/efi.h