aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r--arch/x86/kernel/io_apic.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index 57d60c741e37..84bccac4619f 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -98,10 +98,19 @@ DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES);
98 98
99int skip_ioapic_setup; 99int skip_ioapic_setup;
100 100
101void arch_disable_smp_support(void)
102{
103#ifdef CONFIG_PCI
104 noioapicquirk = 1;
105 noioapicreroute = -1;
106#endif
107 skip_ioapic_setup = 1;
108}
109
101static int __init parse_noapic(char *str) 110static int __init parse_noapic(char *str)
102{ 111{
103 /* disable IO-APIC */ 112 /* disable IO-APIC */
104 disable_ioapic_setup(); 113 arch_disable_smp_support();
105 return 0; 114 return 0;
106} 115}
107early_param("noapic", parse_noapic); 116early_param("noapic", parse_noapic);