[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>
This commit is contained in:
Johannes Berg 2007-02-12 16:20:18 +01:00 committed by Paul Mackerras
parent 0e8266437c
commit 087d7ecd52
1 changed files with 1 additions and 1 deletions

View File

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