[PATCH 01/54] ARM: core irq_data conversion.

Lennert Buytenhek buytenh at wantstofly.org
Fri Jan 14 13:49:32 EST 2011


On Fri, Jan 14, 2011 at 04:24:17PM +0000, Russell King - ARM Linux wrote:

> >  static void route_irq(struct irq_desc *desc, unsigned int irq, unsigned int cpu)
> >  {
> > -	pr_debug("IRQ%u: moving from cpu%u to cpu%u\n", irq, desc->node, cpu);
> > +	pr_debug("IRQ%u: moving from cpu%u to cpu%u\n", irq, desc->irq_data.node, cpu);
> >  
> >  	raw_spin_lock_irq(&desc->lock);
> > -	desc->chip->set_affinity(irq, cpumask_of(cpu));
> > +	desc->irq_data.chip->irq_set_affinity(&desc->irq_data,
> > +					      cpumask_of(cpu), false);
> 
> Shouldn't this be 'true' to force the IRQ to move?  The old CPU is
> going down so it's not really optional.

Right, that makes sense.  Can you make that change?



More information about the linux-arm-kernel mailing list