[POWERPC] mpic: set IPIs to be per-CPU
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 12 Feb 2007 15:20:18 +0000 (16:20 +0100)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 Feb 2007 03:00:19 +0000 (14:00 +1100)
This patch changes the MPIC IPIs to be per-CPU to avoid getting a
warning ("Cannot set affinity for irq 251") when taking a CPU
offline via sysfs or during suspend.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mpic.c

index 4e54a09dd33b1fc0c197ad77fa4c47123ba6b0a5..bcfb900481f8fdb6180dc474ed991d1dc7dd164d 100644 (file)
@@ -1370,7 +1370,7 @@ void mpic_request_ipis(void)
                        printk(KERN_ERR "Failed to map IPI %d\n", i);
                        break;
                }
-               request_irq(vipi, mpic_ipi_action, IRQF_DISABLED,
+               request_irq(vipi, mpic_ipi_action, IRQF_DISABLED|IRQF_PERCPU,
                            ipi_names[i], mpic);
        }
 }