Skip to contentSkip to conversation

fix UP_APIC linkage problem in 2.5.3[78]

PATCH New Mikael Pettersson 1 participant 1 message Sep 22, 2002

lore
Share & tools
lore
#0 lore raw

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

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

arch/i386/config.in renamed from arch/i386/config.in.~1~ +1 -1
@@ -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