[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:
parent
0e8266437c
commit
087d7ecd52
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue