From: David Rientjes <rientjes@google.com>
To: Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>,
Chen Gong <gong.chen@linux.intel.com>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [patch x86/mce] ACPI, x86: Export boot_cpu_physical_apicid to modules
Date: Thu, 14 Nov 2013 15:05:32 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.02.1311141504080.30112@chino.kir.corp.google.com> (raw)
"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.
next reply other threads:[~2013-11-14 23:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-14 23:05 David Rientjes [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1311141504080.30112@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=gong.chen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®