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 /arch/x86/include/asm | |
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 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/efi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index ee867f01b2f6..78fc28da2e29 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h @@ -10,6 +10,8 @@ #include <asm/mmu_context.h> #include <linux/build_bug.h> +extern unsigned long efi_fw_vendor, efi_config_table; + /* * We map the EFI regions needed for runtime services non-contiguously, * with preserved alignment on virtual addresses starting from -4G down |