2002-10-22 17:22:34

by Lucio Maciel

[permalink] [raw]
Subject: [PATCH 2.5.44] 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..
--
::: Lucio F. Maciel
::: [email protected]
::: icq 93065464
::: Absoluta.net


Attachments:
mpparse.diff (317.00 B)

2002-10-23 11:37:10

by Mikael Pettersson

[permalink] [raw]
Subject: Re: [PATCH 2.5.44] compile error whit LOCAL_APIC disabled...

On 22 Oct 2002 14:28:26 -0300, Lucio Maciel wrote:
> <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...

Known bug in scripts/Configure when switching from an APIC-enabled to
an APIC-disabled config. `make oldconfig' fixes it.