* [Xenomai-help] Latest SVN version: tasklist_lock not exported with UP
@ 2007-01-03 13:07 M. Koehrer
2007-01-03 13:44 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: M. Koehrer @ 2007-01-03 13:07 UTC (permalink / raw)
To: xenomai
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.
Regards
Mathias
--
Mathias Koehrer
mathias_koehrer@domain.hid
Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur 44,85 inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Latest SVN version: tasklist_lock not exported with UP
2007-01-03 13:07 [Xenomai-help] Latest SVN version: tasklist_lock not exported with UP M. Koehrer
@ 2007-01-03 13:44 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2007-01-03 13:44 UTC (permalink / raw)
To: M. Koehrer; +Cc: xenomai
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-03 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-03 13:07 [Xenomai-help] Latest SVN version: tasklist_lock not exported with UP M. Koehrer
2007-01-03 13:44 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.