mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
powerpc/xics: Mark xics IPI interrupt as per-cpu
It is physically per-cpu, and we want the irq layer to treat it that way. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
1a57c926b6
commit
d879f3849c
|
|
@ -556,11 +556,11 @@ static void xics_request_ipi(void)
|
|||
*/
|
||||
set_irq_handler(ipi, handle_percpu_irq);
|
||||
if (firmware_has_feature(FW_FEATURE_LPAR))
|
||||
rc = request_irq(ipi, xics_ipi_action_lpar, IRQF_DISABLED,
|
||||
"IPI", NULL);
|
||||
rc = request_irq(ipi, xics_ipi_action_lpar,
|
||||
IRQF_DISABLED|IRQF_PERCPU, "IPI", NULL);
|
||||
else
|
||||
rc = request_irq(ipi, xics_ipi_action_direct, IRQF_DISABLED,
|
||||
"IPI", NULL);
|
||||
rc = request_irq(ipi, xics_ipi_action_direct,
|
||||
IRQF_DISABLED|IRQF_PERCPU, "IPI", NULL);
|
||||
BUG_ON(rc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user