On Thu, 2006-12-21 at 16:19 +0100, M. Koehrer wrote:
> Hi Philippe,
> 
> > - does enabling CONFIG_DEBUG_SPINLOCK and CONFIG_DEBUG_SPINLOCK_SLEEP in
> > the kernel hacking section cause Linux warnings to appear while the test
> > code runs over 2.6.19, before the box crashes?
> 
> Unfortunately, I am not able to get the xeno_nucleus compiled when I have the 
> kernel hacking configuration set as proposed. 
> The kernel linker complains about an undefined "tasklist_lock" in 
> xeno_nucleus.ko
> Thus, I am not able to perform this test.
> 

This patch against the linux tree fixes the issue:

--- arch/i386/kernel/ipipe.c~   2006-12-18 22:03:37.000000000 +0100
+++ arch/i386/kernel/ipipe.c    2006-12-21 17:52:22.000000000 +0100
@@ -901,6 +901,7 @@
 EXPORT_SYMBOL_GPL(show_stack);
 EXPORT_PER_CPU_SYMBOL_GPL(init_tss);
 #ifdef CONFIG_SMP
+EXPORT_SYMBOL(tasklist_lock);
 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