linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch x86/mce] ACPI, x86: Export boot_cpu_physical_apicid to modules
@ 2013-11-14 23:05 David Rientjes
  2013-11-14 23:26 ` Luck, Tony
  2013-11-15  7:45 ` [tip:x86/urgent] x86: Export 'boot_cpu_physical_apicid' " tip-bot for David Rientjes
  0 siblings, 2 replies; 5+ messages in thread
From: David Rientjes @ 2013-11-14 23:05 UTC (permalink / raw)
  To: Ingo Molnar, H. Peter Anvin, Thomas Gleixner
  Cc: Tony Luck, Chen Gong, Rafael J. Wysocki, x86, linux-kernel

"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 <rientjes@google.com>
---
 arch/x86/kernel/apic/apic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
--- 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(boot_cpu_physical_apicid);
 
 /*
  * The highest APIC ID seen during enumeration.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-15  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-14 23:05 [patch x86/mce] ACPI, x86: Export boot_cpu_physical_apicid to modules David Rientjes
2013-11-14 23:26 ` Luck, Tony
2013-11-14 23:33   ` David Rientjes
2013-11-14 23:39     ` Luck, Tony
2013-11-15  7:45 ` [tip:x86/urgent] x86: Export 'boot_cpu_physical_apicid' " tip-bot for David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).