mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stelian Pop <stelian.pop@fr.alcove.com>
To: "Udo A. Steinberg" <reality@delusion.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.5.8-pre3 linking error
Date: Wed, 10 Apr 2002 13:39:27 +0200	[thread overview]
Message-ID: <20020410113927.GE28413@come.alcove-fr> (raw)
In-Reply-To: <3CB418B7.BB5CFEB9@delusion.de>

On Wed, Apr 10, 2002 at 12:49:27PM +0200, Udo A. Steinberg wrote:

> 2.5.8-pre3 fails to link here:
> 
> init/main.o: In function `start_kernel':
> init/main.o(.text.init+0x681): undefined reference to `setup_per_cpu_areas'
> 

Apply this:

===== init/main.c 1.39 vs edited =====
--- 1.39/init/main.c	Fri Mar 15 15:01:31 2002
+++ edited/init/main.c	Wed Apr 10 10:35:38 2002
@@ -271,6 +271,10 @@
 #define smp_init()	do { } while (0)
 #endif
 
+static inline void setup_per_cpu_areas(void)
+{
+}
+
 #else
 
 #ifdef __GENERIC_PER_CPU

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com

      parent reply	other threads:[~2002-04-10 11:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 10:49 Udo A. Steinberg
2002-04-10 10:42 ` Gerd Knorr
2002-04-10 11:37 ` Todor Todorov
2002-04-10 11:39 ` Stelian Pop [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=20020410113927.GE28413@come.alcove-fr \
    --to=stelian.pop@fr.alcove.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reality@delusion.de \
    /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®