[PATCH] fix UP_APIC linkage problem in 2.5.3[78]

Mikael Pettersson (mikpe@csd.uu.se)
Sun, 22 Sep 2002 11:59:45 +0200 (MET DST)


The problem is that the local APIC code references stuff in
mpparse, but 2.5.37 changed arch/i386/kernel/Makefile to only
compile mpparse for SMP.

This patch works around this by enforcing CONFIG_X86_MPPARSE
for all LOCAL_APIC-enabled configs.

/Mikael

--- linux-2.5.38/arch/i386/config.in.~1~ Sat Sep 21 18:15:16 2002
+++ linux-2.5.38/arch/i386/config.in Sun Sep 22 11:13:49 2002
@@ -260,7 +260,6 @@
if [ "$CONFIG_SMP" = "y" ]; then
define_bool CONFIG_X86_IO_APIC y
define_bool CONFIG_X86_LOCAL_APIC y
- define_bool CONFIG_X86_MPPARSE y
fi
bool 'PCI support' CONFIG_PCI
if [ "$CONFIG_PCI" = "y" ]; then
@@ -441,6 +440,7 @@
if [ "$CONFIG_X86_LOCAL_APIC" = "y" ]; then
define_bool CONFIG_X86_EXTRA_IRQS y
define_bool CONFIG_X86_FIND_SMP_CONFIG y
+ define_bool CONFIG_X86_MPPARSE y
fi

endmenu
-
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/