linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix UP_APIC compile in 2.4.12-ac6
@ 2001-10-23 16:50 Mikael Pettersson
  0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2001-10-23 16:50 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-23 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-23 16:50 [PATCH] fix UP_APIC compile in 2.4.12-ac6 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).