mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: bonganilinux@mweb.co.za
To: dipankar@in.ibm.com, linux@hazard.jcu.cz, linux-kernel@vger.kernel.org
Subject: Re: Kernel 2.5.8 compilation fail...
Date: Mon, 22 Apr 2002 13:34:58 GMT	[thread overview]
Message-ID: <E16zbyq-0006y2-00@ubermail.mweb.co.za> (raw)

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

--- init/main.c Wed Apr 10 15:00:25 2002
+++ init/main.c_new     Mon Apr 22 15:33:45 2002
@@ -269,6 +269,9 @@
 }
 #else
 #define smp_init()     do { } while (0)
+static inline void setup_per_cpu_areas(void)
+{
+}
 #endif

 #else

> -- 
> Dipankar Sarma  <dipankar@in.ibm.com> http://lse.sourceforge.net
> Linux Technology Center, IBM Software Lab, Bangalore, India.
> 


---------------------------------------------
This message was sent using M-Web Airmail.
JUST LIKE THAT
Are you ready for 10-digit dialling on the 8th of May?
To find out how this will affect your Internet connection go to www.mweb.co.za/ten
http://airmail.mweb.co.za/



             reply	other threads:[~2002-04-22 13:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-22 13:34 bonganilinux [this message]
2002-04-22 13:56 ` Dipankar Sarma
  -- 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=E16zbyq-0006y2-00@ubermail.mweb.co.za \
    --to=bonganilinux@mweb.co.za \
    --cc=dipankar@in.ibm.com \
    --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

all inboxes | Powered by JetHome®