public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 2.5.44] compile error whit LOCAL_APIC disabled...
@ 2002-10-23 11:43 Mikael Pettersson
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Pettersson @ 2002-10-23 11:43 UTC (permalink / raw)
  To: abslucio, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH 2.5.44] compile error whit LOCAL_APIC disabled...
@ 2002-10-22 17:28 Lucio Maciel
  0 siblings, 0 replies; 2+ messages in thread
From: Lucio Maciel @ 2002-10-22 17:28 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

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

[-- Attachment #2: mpparse.diff --]
[-- Type: text/plain, Size: 327 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-23 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-23 11:43 [PATCH 2.5.44] compile error whit LOCAL_APIC disabled Mikael Pettersson
  -- strict thread matches above, loose matches on Subject: below --
2002-10-22 17:28 Lucio Maciel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox