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

Lucio Maciel (abslucio@terra.com.br)
22 Oct 2002 14:28:26 -0300


--=-5M/1thPs2lVmUWHA6DMx
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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

--=-5M/1thPs2lVmUWHA6DMx Content-Disposition: attachment; filename=mpparse.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=mpparse.diff; charset=ANSI_X3.4-1968

--- ../linux-2.5.44/arch/i386/kernel/mpparse.c 2002-10-16 09:32:26.00000000= 0 -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" =20

--=-5M/1thPs2lVmUWHA6DMx--

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