diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-02-12 10:20:18 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-15 22:00:19 -0500 |
commit | 087d7ecd5273b480d13f4309a159842700afe276 (patch) | |
tree | bf39188532879ac279a60fc08d5fab5cf178472e | |
parent | 0e8266437c62f4848676ea6e87a1ff10367502a9 (diff) |
[POWERPC] mpic: set IPIs to be per-CPU
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>
-rw-r--r-- | arch/powerpc/sysdev/mpic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index 4e54a09dd33b..bcfb900481f8 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c | |||
@@ -1370,7 +1370,7 @@ void mpic_request_ipis(void) | |||
1370 | printk(KERN_ERR "Failed to map IPI %d\n", i); | 1370 | printk(KERN_ERR "Failed to map IPI %d\n", i); |
1371 | break; | 1371 | break; |
1372 | } | 1372 | } |
1373 | request_irq(vipi, mpic_ipi_action, IRQF_DISABLED, | 1373 | request_irq(vipi, mpic_ipi_action, IRQF_DISABLED|IRQF_PERCPU, |
1374 | ipi_names[i], mpic); | 1374 | ipi_names[i], mpic); |
1375 | } | 1375 | } |
1376 | } | 1376 | } |