mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bruce Harada <bruce@ask.ne.jp>
To: Mikael Djurfeldt <djurfeldt@nada.kth.se>, martin@jtrix.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.10-pre12: IO_APIC_init_uniprocessor
Date: Fri, 21 Sep 2001 21:31:56 +0900	[thread overview]
Message-ID: <20010921213156.061abcf6.bruce@ask.ne.jp> (raw)
In-Reply-To: <E15jyPh-0001QM-00@mdj.nada.kth.se>
In-Reply-To: <E15jyPh-0001QM-00@mdj.nada.kth.se>

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

      reply	other threads:[~2001-09-21 12:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-20  7:38 Mikael Djurfeldt
2001-09-21 12:31 ` Bruce Harada [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010921213156.061abcf6.bruce@ask.ne.jp \
    --to=bruce@ask.ne.jp \
    --cc=djurfeldt@nada.kth.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin@jtrix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®