aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-20 14:55:02 +0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:59 +0200
commitc0a282c251181aa423d4831719613b8286b5b839 (patch)
tree8083d4d0e0b28a1640c5d640cc69e5e33596e0a1 /include
parent9e0a2de2684372f16130b753efdbf226a997efb0 (diff)
x86: make mp_bus_id_to_type optional
[ mingo@elte.hu: fix boot regression. ] Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/mpspec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-x86/mpspec.h b/include/asm-x86/mpspec.h
index 75df88e0a27..5fa8b8bb7d0 100644
--- a/include/asm-x86/mpspec.h
+++ b/include/asm-x86/mpspec.h
@@ -6,7 +6,6 @@
#ifdef CONFIG_X86_32
#include <mach_mpspec.h>
-extern int mp_bus_id_to_type[MAX_MP_BUSSES];
extern int mp_bus_id_to_node[MAX_MP_BUSSES];
extern int mp_bus_id_to_local[MAX_MP_BUSSES];
@@ -28,7 +27,12 @@ extern void early_get_smp_config(void);
#endif
+#if defined(CONFIG_MCA) || defined(CONFIG_EISA)
+extern int mp_bus_id_to_type[MAX_MP_BUSSES];
+#endif
+
extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES);
+
extern int mp_bus_id_to_pci_bus[MAX_MP_BUSSES];
extern unsigned int boot_cpu_physical_apicid;