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

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jan 14 11:24:17 EST 2011


On Tue, Nov 30, 2010 at 02:25:32PM +0100, Lennert Buytenhek wrote:
> @@ -169,10 +169,11 @@ int __init arch_probe_nr_irqs(void)
>  
>  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.



More information about the linux-arm-kernel mailing list