Skip to contentSkip to conversation

fix UP_APIC compile in 2.4.12-ac6

PATCH New Mikael Pettersson 1 participant 1 message Oct 23, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix UP_APIC compile in 2.4.12-ac6

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

arch/i386/kernel/mpparse.c renamed from arch/i386/kernel/mpparse.c.~1~ +4 -0
@@ -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)
 {