efi/x86: Make fw_vendor, config_table and runtime sysfs nodes x86 specific
There is some code that exposes physical addresses of certain parts of the EFI firmware implementation via sysfs nodes. These nodes are only used on x86, and are of dubious value to begin with, so let's move their handling into the x86 arch code. Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64 Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
@@ -120,9 +120,6 @@ static int __init uefi_init(void)
|
||||
retval = efi_config_parse_tables(config_tables, efi.systab->nr_tables,
|
||||
arch_tables);
|
||||
|
||||
if (!retval)
|
||||
efi.config_table = (unsigned long)efi.systab->tables;
|
||||
|
||||
early_memunmap(config_tables, table_size);
|
||||
out:
|
||||
early_memunmap(efi.systab, sizeof(efi_system_table_t));
|
||||
|
Reference in New Issue
Block a user