[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:
Родитель
0e8266437c
Коммит
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче