Skip to contentSkip to conversation

compile error whit LOCAL_APIC disabled...

PATCH New Lucio Maciel 1 participant 1 message Oct 22, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compile error whit LOCAL_APIC disabled...

Hello

2.5.44 are not compiling with APIC disabled.

<cut arch/i386/config.in>
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
</cut>

CONFIG_X86_MPPARSE that should only be enabled when LOCAL_APIC is enable to, is getting always enable breaking the compile...

the problem is with a undefined reference do Dprintk, defined in <asm/apic.h>

regards..

Signature · 4 lines
::: Lucio F. Maciel
::: [email protected]
::: icq 93065464
::: Absoluta.net
i386/kernel/mpparse.c renamed from linux-2.5.44/arch/i386/kernel/mpparse.c +1 -0
@@ -29,6 +29,7 @@
 #include <asm/mtrr.h>
 #include <asm/mpspec.h>
 #include <asm/pgalloc.h>
+#include <asm/apic.h>
 #include <asm/io_apic.h>
 #include "mach_apic.h"