From: Bongani <bonganilinux@mweb.co.za>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [Patch] Compilation error on 2.5.8
Date: 16 Apr 2002 00:53:08 +0200 [thread overview]
Message-ID: <1018911190.2688.67.camel@localhost.localdomain> (raw)
I get the following error when I try to compile 2.5.8
init/main.o: In function `start_kernel':
init/main.o(.text.init+0x5e2): undefined reference to
`setup_per_cpu_areas'
Looking at the code it looks like someone got confused ;)
around the ifdefs.I'm under the assumption that setup_per_cpu_areas()
does nothing on a uniprocessor. The patch compile fine on
my PC.
--- init/main.c Tue Apr 16 00:33:04 2002
+++ init/main.c_new Tue Apr 16 00:32:51 2002
@@ -344,7 +344,9 @@
lock_kernel();
printk(linux_banner);
setup_arch(&command_line);
+#ifdef CONFIG_SMP
setup_per_cpu_areas();
+#endif
printk("Kernel command line: %s\n", saved_command_line);
parse_options(command_line);
trap_init();
Cheers
-Bongani
next reply other threads:[~2002-04-15 22:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-15 22:53 Bongani [this message]
2002-04-15 22:45 ` [Patch] Compilation error on 2.5.8 Robert Love
2002-04-15 23:34 ` Bongani
2002-04-15 23:24 ` Robert Love
2002-04-16 4:57 ` Bongani
2002-04-16 4:48 ` Robert Love
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=1018911190.2688.67.camel@localhost.localdomain \
--to=bonganilinux@mweb.co.za \
--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