diff options
author | Mathias Krause <minipli@googlemail.com> | 2014-09-07 19:42:15 +0200 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-10-03 19:41:02 +0200 |
commit | 609206854767559ecbb1c308bbd6ef7af13d8c6e (patch) | |
tree | 10fce5016f0268c3058d33fecca6ee98c7427f84 /arch/x86/include/asm/efi.h | |
parent | x86/efi: Remove unused efi_call* macros (diff) | |
download | linux-609206854767559ecbb1c308bbd6ef7af13d8c6e.tar.xz linux-609206854767559ecbb1c308bbd6ef7af13d8c6e.zip |
x86/efi: Unexport add_efi_memmap variable
This variable was accidentally exported, even though it's only used in
this compilation unit and only during initialization.
Remove the bogus export, make the variable static instead and mark it
as __initdata.
Fixes: 200001eb140e ("x86 boot: only pick up additional EFI memmap...")
Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/include/asm/efi.h')
-rw-r--r-- | arch/x86/include/asm/efi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index 5375df643818..ce7b1c5ff78d 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h @@ -88,7 +88,6 @@ extern void __iomem *efi_ioremap(unsigned long addr, unsigned long size, #define efi_in_nmi() in_nmi() -extern int add_efi_memmap; extern struct efi_scratch efi_scratch; extern void efi_set_executable(efi_memory_desc_t *md, bool executable); extern int efi_memblock_x86_reserve_range(void); |