x86: Export 'boot_cpu_physical_apicid' to modules
authorDavid Rientjes <rientjes@google.com>
Thu, 14 Nov 2013 23:05:32 +0000 (15:05 -0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Nov 2013 07:38:30 +0000 (08:38 +0100)
commitcc08e04c3fdcaab767b8db27527002b2b4d758cb
tree47d189b9e68a9bed595f559927015e1813750adf
parent11f918d3e2d3861b6931e97b3aa778e4984935aa
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 <rientjes@google.com>
Acked-by: Tony 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: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/apic.c