]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/xics: Mark xics IPI interrupt as per-cpu
authorMilton Miller <miltonm@bga.com>
Fri, 10 Oct 2008 01:56:39 +0000 (01:56 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 05:24:19 +0000 (16:24 +1100)
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>
arch/powerpc/platforms/pseries/xics.c

index 165234d25991c15f41d49d765497122e3ddad7b4..5ba3e009296048e8e5d76210e953288cda47848b 100644 (file)
@@ -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);
 }