[PATCH] fix UP_APIC compile in 2.4.12-ac6

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Tue Oct 23 2001 - 11:50:29 EST


Alan,

2.4.12-ac6 still doesn't compile if CONFIG_X86_UP_APIC=y but
CONFIG_X86_UP_IOAPIC=n. The patch below fixes this.

/Mikael

--- linux-2.4.12-ac6/arch/i386/kernel/mpparse.c.~1~ Tue Oct 23 16:50:42 2001
+++ linux-2.4.12-ac6/arch/i386/kernel/mpparse.c Tue Oct 23 17:33:08 2001
@@ -118,7 +118,11 @@
         return n;
 }
 
+#ifdef CONFIG_X86_IO_APIC
 extern int have_acpi_tables; /* set by acpitable.c */
+#else
+#define have_acpi_tables (0)
+#endif
 
 void __init MP_processor_info (struct mpc_config_processor *m)
 {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:39 EST