summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/k8topology_64.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-19 12:15:01 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-08 10:39:19 +0200
commita4caa18efe468acb3522e30763de57a67b3e438b (patch)
treebb897cdd2bdbd804aa1c7ae56facf1524f5d8243 /arch/x86/mm/k8topology_64.c
parent6695c85b2e6f9f2e9ccaa8af38b72f5ab4a5184f (diff)
downloadlinux-stable-a4caa18efe468acb3522e30763de57a67b3e438b.tar.gz
linux-stable-a4caa18efe468acb3522e30763de57a67b3e438b.tar.bz2
linux-stable-a4caa18efe468acb3522e30763de57a67b3e438b.zip
x86: fix compiling when CONFIG_X86_MPPARSE is not set
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/k8topology_64.c')
-rw-r--r--arch/x86/mm/k8topology_64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/mm/k8topology_64.c b/arch/x86/mm/k8topology_64.c
index 1f476e477844..f75aa2ae54a3 100644
--- a/arch/x86/mm/k8topology_64.c
+++ b/arch/x86/mm/k8topology_64.c
@@ -56,18 +56,22 @@ static __init void early_get_boot_cpu_id(void)
/*
* Find possible boot-time SMP configuration:
*/
+#ifdef CONFIG_X86_MPPARSE
early_find_smp_config();
+#endif
#ifdef CONFIG_ACPI
/*
* Read APIC information from ACPI tables.
*/
early_acpi_boot_init();
#endif
+#ifdef CONFIG_X86_MPPARSE
/*
* get boot-time SMP configuration:
*/
if (smp_found_config)
early_get_smp_config();
+#endif
early_init_lapic_mapping();
}