lkml.org 
[lkml]   [2002]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: link errors in 2.5.29+bk
On Mon, Jul 29, 2002 at 01:53:34PM +0300, Meelis Roos wrote:

> Seems to be connected to the recent migration thread changes:
>
> init/init.o: In function `do_pre_smp_initcalls':
> init/init.o(.text+0x59): undefined reference to `migration_init'

The attached patch fixes this.

===== init/main.c 1.59 vs edited =====
--- 1.59/init/main.c Mon Jul 29 08:07:28 2002
+++ edited/init/main.c Mon Jul 29 12:21:56 2002
@@ -526,10 +526,14 @@

static void do_pre_smp_initcalls(void)
{
+#if CONFIG_SMP
extern int migration_init(void);
+#endif
extern int spawn_ksoftirqd(void);

+#if CONFIG_SMP
migration_init();
+#endif
spawn_ksoftirqd();
}

Stelian.
--
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:27    [W:0.054 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site