summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/mpic.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-02-12 16:20:18 +0100
committerPaul Mackerras <paulus@samba.org>2007-02-16 14:00:19 +1100
commit087d7ecd5273b480d13f4309a159842700afe276 (patch)
treebf39188532879ac279a60fc08d5fab5cf178472e /arch/powerpc/sysdev/mpic.c
parent0e8266437c62f4848676ea6e87a1ff10367502a9 (diff)
downloadblackbird-op-linux-087d7ecd5273b480d13f4309a159842700afe276.tar.gz
blackbird-op-linux-087d7ecd5273b480d13f4309a159842700afe276.zip
[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>
Diffstat (limited to 'arch/powerpc/sysdev/mpic.c')
-rw-r--r--arch/powerpc/sysdev/mpic.c2
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)
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);
}
}
OpenPOWER on IntegriCloud