diff options
| author | David Rientjes <[email protected]> | 2013-11-14 15:05:32 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-11-15 08:38:30 +0100 |
| commit | cc08e04c3fdcaab767b8db27527002b2b4d758cb (patch) | |
| tree | 47d189b9e68a9bed595f559927015e1813750adf | |
| parent | 11f918d3e2d3861b6931e97b3aa778e4984935aa (diff) | |
x86: Export 'boot_cpu_physical_apicid' to modules
Commit 9ebddac7ea2a "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: David Rientjes <[email protected]>
Acked-by: Tony Luck <[email protected]>
Cc: Chen Gong <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Changed it to a _GPL() export. ]
Signed-off-by: Ingo Molnar <[email protected]>
| -rw-r--r-- | arch/x86/kernel/apic/apic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index a7eb82d9b012..befe4982198a 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c @@ -62,6 +62,7 @@ unsigned disabled_cpus; /* Processor that is doing the boot up */ unsigned int boot_cpu_physical_apicid = -1U; +EXPORT_SYMBOL_GPL(boot_cpu_physical_apicid); /* * The highest APIC ID seen during enumeration. |