aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2013-11-08 17:03:33 -0500
committerIngo Molnar <mingo@kernel.org>2013-11-11 04:21:29 -0500
commit9ebddac7ea2a1f4b4ce3335a78312a58dfaadb4d (patch)
treeb5770ea66104508a1aeb5475632c437db29e4188
parent0841c04d65937ad2808f59c43cb54a92473c8f0e (diff)
ACPI, x86: Fix extended error log driver to depend on CONFIG_X86_LOCAL_APIC
Randconfig build by Fengguang's robot army reported: drivers/built-in.o: In function `extlog_print': >> acpi_extlog.c:(.text+0xcc719): undefined reference to `boot_cpu_physical_apicid' The config had CONFIG_SMP=n so we picked up this definition from: <asm/cpu.h>: #define cpu_physical_id(cpu) boot_cpu_physical_apicid But boot_cpu_physical_apicid is defined in arch/x86/kernel/apic/apic.c which is only built if CONFIG_X86_LOCAL_APIC=y. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-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/6be3afdcad7968f7fb7c0b681e547b3e872e44dd.1383947368.git.tony.luck@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--drivers/acpi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 08eadb4a57cb..e11faae81ed9 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -374,7 +374,7 @@ source "drivers/acpi/apei/Kconfig"
374 374
375config ACPI_EXTLOG 375config ACPI_EXTLOG
376 tristate "Extended Error Log support" 376 tristate "Extended Error Log support"
377 depends on X86_MCE 377 depends on X86_MCE && X86_LOCAL_APIC
378 select EFI 378 select EFI
379 select UEFI_CPER 379 select UEFI_CPER
380 default n 380 default n