On 09/25/2012 04:45 PM, Wolfgang Mauerer wrote:
> +                     if (!cpumask_test_cpu(cpu, mask)
> +                         && t->irq == per_cpu(ipipe_percpu.hrtimer_irq, 0)) {
> +                             per_cpu(ipipe_percpu.hrtimer_irq, cpu) = t->irq;
> +                             goto found;

This only works if cpu 0 is part of the "supported cpus" mask. I think
we need two loops.

-- 
                                            Gilles.

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to