summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2008-12-05 22:45:50 -0800
committerIngo Molnar <mingo@elte.hu>2008-12-08 15:08:28 +0100
commit69b88afa8d114a43a3c0431722b79e31d9920692 (patch)
tree764295291cb385dbca12d22fa3563a735364a1ac /arch/x86/kernel/acpi
parentaa9c9b8c584a42a094202b7e0f63497e888f86a7 (diff)
downloadblackbird-op-linux-69b88afa8d114a43a3c0431722b79e31d9920692.tar.gz
blackbird-op-linux-69b88afa8d114a43a3c0431722b79e31d9920692.zip
x86: clean up get_smp_config()
Impact: cleanup reorder exit path in __get_smp_config(). also move two print outs to acpi_process_madt Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/acpi')
-rw-r--r--arch/x86/kernel/acpi/boot.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 4c51a2f8fd31..65d0b72777ea 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -1360,6 +1360,17 @@ static void __init acpi_process_madt(void)
disable_acpi();
}
}
+
+ /*
+ * ACPI supports both logical (e.g. Hyper-Threading) and physical
+ * processors, where MPS only supports physical.
+ */
+ if (acpi_lapic && acpi_ioapic)
+ printk(KERN_INFO "Using ACPI (MADT) for SMP configuration "
+ "information\n");
+ else if (acpi_lapic)
+ printk(KERN_INFO "Using ACPI for processor (LAPIC) "
+ "configuration information\n");
#endif
return;
}
OpenPOWER on IntegriCloud