ACPI: boot correctly with "nosmp" or "maxcpus=0"
[linux-2.6.git] / arch / x86_64 / kernel / io_apic.c
index f57f8b901912dba2829ebd3ced20ec754c61a813..966fa10624911c93fd042e37440f9d101e10693f 100644 (file)
@@ -397,14 +397,12 @@ static void clear_IO_APIC (void)
 int skip_ioapic_setup;
 int ioapic_force;
 
-/* dummy parsing: see setup.c */
-
-static int __init disable_ioapic_setup(char *str)
+static int __init parse_noapic(char *str)
 {
-       skip_ioapic_setup = 1;
+       disable_ioapic_setup();
        return 0;
 }
-early_param("noapic", disable_ioapic_setup);
+early_param("noapic", parse_noapic);
 
 /* Actually the next is obsolete, but keep it for paranoid reasons -AK */
 static int __init disable_timer_pin_setup(char *arg)