From: Gerd Knorr <kraxel@bytesex.org>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.5.8-pre3 linking error
Date: 10 Apr 2002 10:42:38 GMT [thread overview]
Message-ID: <slrnab85ou.pn6.kraxel@bytesex.org> (raw)
In-Reply-To: <3CB418B7.BB5CFEB9@delusion.de>
Udo A. Steinberg wrote:
>
> Hi,
>
> 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'
Rusty patch deleted setup_per_cpu_areas() for the UP case. The patch
below simply adds it again.
Gerd
===== main.c 1.39 vs edited =====
--- 1.39/init/main.c Fri Mar 15 15:01:31 2002
+++ edited/main.c Wed Apr 10 13:11:56 2002
@@ -270,7 +270,9 @@
#else
#define smp_init() do { } while (0)
#endif
-
+static inline void setup_per_cpu_areas(void)
+{
+}
#else
#ifdef __GENERIC_PER_CPU
next prev parent reply other threads:[~2002-04-10 12:35 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 [this message]
2002-04-10 11:37 ` Todor Todorov
2002-04-10 11:39 ` Stelian Pop
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=slrnab85ou.pn6.kraxel@bytesex.org \
--to=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
/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®