[PATCH 2.5.44] compile error whit LOCAL_APIC disabled...

From: Lucio Maciel (abslucio@terra.com.br)
Date: Tue Oct 22 2002 - 12:28:26 EST


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..

-- 
::: Lucio F. Maciel
::: abslucio@terra.com.br
::: icq 93065464
::: Absoluta.net

--- ../linux-2.5.44/arch/i386/kernel/mpparse.c 2002-10-16 09:32:26.000000000 -0300 +++ arch/i386/kernel/mpparse.c 2002-10-22 14:16:12.000000000 -0300 @@ -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"

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



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:59 EST