summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-09-07 19:42:15 +0200
committerMatt Fleming <matt.fleming@intel.com>2014-10-03 18:41:02 +0100
commit609206854767559ecbb1c308bbd6ef7af13d8c6e (patch)
tree10fce5016f0268c3058d33fecca6ee98c7427f84 /arch/x86/platform
parent24ffd84b606dafa93a5f8f6e6dbaa06fbde11632 (diff)
downloadop-kernel-dev-609206854767559ecbb1c308bbd6ef7af13d8c6e.zip
op-kernel-dev-609206854767559ecbb1c308bbd6ef7af13d8c6e.tar.gz
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/platform')
-rw-r--r--arch/x86/platform/efi/efi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index f0be3d1..03938d1 100644
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@ -70,9 +70,7 @@ static efi_config_table_type_t arch_tables[] __initdata = {
u64 efi_setup; /* efi setup_data physical address */
-int add_efi_memmap;
-EXPORT_SYMBOL(add_efi_memmap);
-
+static int add_efi_memmap __initdata;
static int __init setup_add_efi_memmap(char *arg)
{
add_efi_memmap = 1;
OpenPOWER on IntegriCloud