diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-01-20 17:23:21 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-02-23 21:59:42 +0100 |
commit | 9cd437ac0ef4f324a92e2579784b03bb487ae7fb (patch) | |
tree | ac32f5c550cb3980bd4c776a520a322331d13e13 /drivers/firmware/efi/arm-init.c | |
parent | efi/x86: Remove runtime table address from kexec EFI setup data (diff) | |
download | linux-9cd437ac0ef4f324a92e2579784b03bb487ae7fb.tar.xz linux-9cd437ac0ef4f324a92e2579784b03bb487ae7fb.zip |
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>
Diffstat (limited to 'drivers/firmware/efi/arm-init.c')
-rw-r--r-- | drivers/firmware/efi/arm-init.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/arm-init.c index d1f44c847841..5fc2f6813b84 100644 --- a/drivers/firmware/efi/arm-init.c +++ b/drivers/firmware/efi/arm-init.c @@ -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)); |