[patch] fix ioapic build breakage

From: Jeff Garzik
Date: Wed Aug 20 2003 - 17:28:26 EST




===== arch/i386/kernel/setup.c 1.92 vs edited =====
--- 1.92/arch/i386/kernel/setup.c Tue Aug 19 16:01:09 2003
+++ edited/arch/i386/kernel/setup.c Wed Aug 20 18:15:34 2003
@@ -543,11 +543,13 @@
if (!acpi_force) acpi_disabled = 1;
}

+#ifdef CONFIG_X86_LOCAL_APIC
/* disable IO-APIC */
else if (!memcmp(from, "noapic", 6)) {
skip_ioapic_setup = 1;
}
-#endif
+#endif /* CONFIG_X86_LOCAL_APIC */
+#endif /* CONFIG_ACPI_BOOT */

/*
* highmem=size forces highmem to be exactly 'size' bytes.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/