I applied the uic patch: diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/sysdev/uic.c index eeb38e2..5a38086 100644 --- a/arch/powerpc/sysdev/uic.c +++ b/arch/powerpc/sysdev/uic.c @@ -48,7 +48,7 @@ struct uic { int index; int dcrbase;
- spinlock_t lock; + ipipe_spinlock_t lock; /* The remapper for this UIC */ struct irq_host *irqhost; However, this would not compile because of a type mismatch. I have added the attached patch, and it now compiles and runs. But I'm not sure if this is the right way to fix it. Comments? Steve
--- /home/sfalco/uic.c 2007-10-25 15:59:35.000000000 -0400 +++ arch/powerpc/sysdev/uic.c 2007-10-25 16:06:16.000000000 -0400 @@ -231,7 +231,7 @@ return NULL; /* FIXME: panic? */ memset(uic, 0, sizeof(*uic)); - spin_lock_init(&uic->lock); + uic->lock = IPIPE_SPIN_LOCK_UNLOCKED; uic->of_node = of_node_get(node); indexp = of_get_property(node, "cell-index", &len); if (!indexp || (len != sizeof(u32))) {
_______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core