diff options
author | Milton Miller <miltonm@bga.com> | 2008-10-09 21:56:39 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-13 01:24:19 -0400 |
commit | d879f3849c93743e170a8dc60a8dfb66150c420d (patch) | |
tree | 28f7b0e84cb5f1c44115aa06c094aef8151cc4d1 /arch | |
parent | 1a57c926b6da56b4f904a0d8117ac362724f8c66 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/xics.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c index 165234d25991..5ba3e0092960 100644 --- a/arch/powerpc/platforms/pseries/xics.c +++ b/arch/powerpc/platforms/pseries/xics.c | |||
@@ -556,11 +556,11 @@ static void xics_request_ipi(void) | |||
556 | */ | 556 | */ |
557 | set_irq_handler(ipi, handle_percpu_irq); | 557 | set_irq_handler(ipi, handle_percpu_irq); |
558 | if (firmware_has_feature(FW_FEATURE_LPAR)) | 558 | if (firmware_has_feature(FW_FEATURE_LPAR)) |
559 | rc = request_irq(ipi, xics_ipi_action_lpar, IRQF_DISABLED, | 559 | rc = request_irq(ipi, xics_ipi_action_lpar, |
560 | "IPI", NULL); | 560 | IRQF_DISABLED|IRQF_PERCPU, "IPI", NULL); |
561 | else | 561 | else |
562 | rc = request_irq(ipi, xics_ipi_action_direct, IRQF_DISABLED, | 562 | rc = request_irq(ipi, xics_ipi_action_direct, |
563 | "IPI", NULL); | 563 | IRQF_DISABLED|IRQF_PERCPU, "IPI", NULL); |
564 | BUG_ON(rc); | 564 | BUG_ON(rc); |
565 | } | 565 | } |
566 | 566 | ||