Re: [ACPI-sppt] Failure of compile with v2.4.22-pre8

Ibon Gotxi Garcia <[email protected]>
Newsgroups gmane.linux.acpi.support
Message-ID <1060381800.393.13.camel@rubbersoul>
On Fri, 2003-08-08 at 11:19, Sam Michaels wrote:

> 
> arch/i386/kernel/kernel.o(.text.init+0x3e90): In function
'force_apic':
> : undefined reference to 'enable_apic_up'
> arch/i386/kernel/kernel.o(.text.init+0x3e97): In function
'force_apic':
> : undefined reference to 'skip_ioapic_setup'
> 
> Any ideas?
> 

G S <[email protected]> wrote in acpi-devel:

I ran into the same compile problem. Obviously the
patch is not quite ok. I added the following line in 
arch/i386/kernel/acpi.c which fixes the missing
declaration. Now the 2.4.22pre10 kernel patch with
acpi2.4.22pre8 works fine on my Sony GRX700.

   /*
    * Detect and enable local APICs on non-SMP boards.
    * Original code written by Keir Fraser.
    */
   int dont_enable_local_apic __initdata = 0;
+  int enable_apic_up __initdata = 0;

   static int __init detect_init_APIC (void)
  {

Guenter


and


Ooops!
the file is 
arch/i386/kernel/apic.c

Guenter


Works for me.
Hope this helps.

Ibon

> Sam



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.