lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.8-pre3 linking error
On Wed, Apr 10, 2002 at 12:49:27PM +0200, Udo A. Steinberg wrote:

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

Apply this:

===== init/main.c 1.39 vs edited =====
--- 1.39/init/main.c Fri Mar 15 15:01:31 2002
+++ edited/init/main.c Wed Apr 10 10:35:38 2002
@@ -271,6 +271,10 @@
#define smp_init() do { } while (0)
#endif

+static inline void setup_per_cpu_areas(void)
+{
+}
+
#else

#ifdef __GENERIC_PER_CPU
--
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.891 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site