lkml.org 
[lkml]   [2001]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.4.10-pre12: IO_APIC_init_uniprocessor
On Thu, 20 Sep 2001 09:38:25 +0200
Mikael Djurfeldt <mdj@mdj.nada.kth.se> wrote:

> I have the APIC option enabled in my configuration.
>
> When compiling 2.4.10-pre12, the call to IO_APIC_init_uniprocessor in
> init/main.c is not resolved. In fact, searching for this symbol, I
> didn't find it anywhere else in the kernel source.

On Thu, 20 Sep 2001 08:55:38 +0100
Martin Brooks <martin@jtrix.com> wrote:

> init/main.o: In function `smp_init':
> init/main.o(.text.init+0x74d): undefined reference to
> `IO_APIC_init_uniprocessor'
> make: *** [vmlinux] Error 1
>
>
> I'm not subscribed, please CC.

Patch from Keith Owens below. Please make sure to search the l-k archives for
compile problems such as this - there's always a good chance that someone will
have hit the same problem before.


--------------- Patch starts -----------------

Index: 10-pre12.1/init/main.c
--- 10-pre12.1/init/main.c Fri, 06 Jul 2001 09:49:24 +1000 kaos (linux-2.4/k/11_main.c 1.1.5.1.1.8.1.3 644)
+++ 10-pre12.1(w)/init/main.c Wed, 19 Sep 2001 21:28:17 +1000 kaos (linux-2.4/k/11_main.c 1.1.5.1.1.8.1.3 644)
@@ -483,7 +483,7 @@ extern void cpu_idle(void);
#ifdef CONFIG_X86_IO_APIC
static void __init smp_init(void)
{
- IO_APIC_init_uniprocessor();
+ APIC_init_uniprocessor();
}
#else
#define smp_init() do { } while (0)
---------------- Patch ends -------------------
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.027 / U:2.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site