Re: Kernel 2.5.8 compilation fail...

From: bonganilinux@mweb.co.za
Date: Mon Apr 22 2002 - 08:34:58 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:30 EST