Commit cc08e04c authored by David Rientjes's avatar David Rientjes Committed by Ingo Molnar

x86: Export 'boot_cpu_physical_apicid' to modules

Commit 9ebddac7 "ACPI, x86: Fix extended error log driver to depend on
CONFIG_X86_LOCAL_APIC" fixed a build error when CONFIG_X86_LOCAL_APIC was not
selected and !CONFIG_SMP.

However, since CONFIG_ACPI_EXTLOG is tristate, there is a second build error:

  ERROR: "boot_cpu_physical_apicid" [drivers/acpi/acpi_extlog.ko] undefined!

The symbol needs to be exported for it to be available.
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Acked-by: default avatarTony Luck <tony.luck@intel.com>
Cc: Chen Gong <gong.chen@linux.intel.com>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1311141504080.30112@chino.kir.corp.google.com
[ Changed it to a _GPL() export. ]
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 11f918d3
...@@ -62,6 +62,7 @@ unsigned disabled_cpus; ...@@ -62,6 +62,7 @@ unsigned disabled_cpus;
/* Processor that is doing the boot up */ /* Processor that is doing the boot up */
unsigned int boot_cpu_physical_apicid = -1U; unsigned int boot_cpu_physical_apicid = -1U;
EXPORT_SYMBOL_GPL(boot_cpu_physical_apicid);
/* /*
* The highest APIC ID seen during enumeration. * The highest APIC ID seen during enumeration.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment