On Wed, 2007-01-03 at 14:07 +0100, M. Koehrer wrote:
> Hi all,
> 
> using the latest SVN version (#2039) of Xenomai on a 2.6.19.1 kernel (Pentium 
> 4),
> I found out that the build is broken if the nucleus skin is compiled as 
> module and
> if UP (and not SMP) is selected.
> in arch/i386/kernel/ipipe.c
> the EXPORT_SYMBOL(tasklist_lock)
> is encapsulated in a #ifdef CONFIG_SMP
> which is not true for a UP kernel.

Apply this, or disable CONFIG_DEBUG_SPINLOCK until the fix is merged
into the next I-pipe release:

--- arch/i386/kernel/ipipe.c~   2006-12-21 17:55:47.000000000 +0100
+++ arch/i386/kernel/ipipe.c    2007-01-03 14:42:28.000000000 +0100
@@ -900,8 +900,10 @@
 EXPORT_SYMBOL_GPL(__switch_to);
 EXPORT_SYMBOL_GPL(show_stack);
 EXPORT_PER_CPU_SYMBOL_GPL(init_tss);
-#ifdef CONFIG_SMP
+#if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_SPINLOCK)
 EXPORT_SYMBOL(tasklist_lock);
+#endif /* CONFIG_SMP || CONFIG_DEBUG_SPINLOCK */
+#ifdef CONFIG_SMP
 EXPORT_SYMBOL(__ipipe_logical_cpuid);
 EXPORT_PER_CPU_SYMBOL_GPL(cpu_tlbstate);
 #endif /* CONFIG_SMP */

> 
> Regards
> 
> Mathias
> 
-- 
Philippe.



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to