From: Dipankar Sarma <dipankar@in.ibm.com>
To: bonganilinux@mweb.co.za
Cc: linux@hazard.jcu.cz, linux-kernel@vger.kernel.org
Subject: Re: Kernel 2.5.8 compilation fail...
Date: Mon, 22 Apr 2002 19:26:27 +0530 [thread overview]
Message-ID: <20020422192627.B18450@in.ibm.com> (raw)
In-Reply-To: <E16zbyq-0006y2-00@ubermail.mweb.co.za>
On Mon, Apr 22, 2002 at 01:34:58PM +0000, bonganilinux@mweb.co.za wrote:
> > You can use the attached (text/plain) patch to fix this.
> >
> > Thanks
>
> Why will moving init smp_init help? Because as far as I can see
> setup_per_cpu_areas() is called by start_kernel. But it
> is only defined for SMP so this should do it:
The idea is not just to move smp_init(), but to move
#ifdef __GENERIC_PER_CPU portion to outside #else of
#ifndef CONFIG_SMP.
__GENERIC_PER_CPU will not be defined for UP and hence
setup_per_cpu_areas() wil be an empty function in UP case.
Rusty suggested this and I have been using it.
Thanks
--
Dipankar Sarma <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.
next prev parent reply other threads:[~2002-04-22 13:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-22 13:34 Kernel 2.5.8 compilation fail bonganilinux
2002-04-22 13:56 ` Dipankar Sarma [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-22 12:10 Dipankar Sarma
2002-04-22 10:06 Jan Marek
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=20020422192627.B18450@in.ibm.com \
--to=dipankar@in.ibm.com \
--cc=bonganilinux@mweb.co.za \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@hazard.jcu.cz \
/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