ARM: irq migration: force migration off CPU going down
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 23 Jan 2011 12:08:16 +0000 (12:08 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Feb 2011 17:24:15 +0000 (17:24 +0000)
The force argument to irq_set_affinity really should be 'true' as
moving IRQs off a CPU which is going down isn't optional.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/irq.c

index 28536e352deb5f1e94343f5c1383b85450057e3b..2f19aa5f33917f69e742448360fbc347e665787f 100644 (file)
@@ -185,7 +185,7 @@ static void route_irq(struct irq_desc *desc, unsigned int irq, unsigned int cpu)
 
        raw_spin_lock_irq(&desc->lock);
        desc->irq_data.chip->irq_set_affinity(&desc->irq_data,
-                                             cpumask_of(cpu), false);
+                                             cpumask_of(cpu), true);
        raw_spin_unlock_irq(&desc->lock);
 }