[PATCH 11/16] powerpc: mark xics ipi percpu

Milton Miller miltonm at bga.com
Fri Oct 10 22:56:39 EST 2008


Its physically per-cpu, and we want the irq layer to treat it that way.

Signed-off-by: Milton Miller <miltonm at bga.com>

Index: next.git/arch/powerpc/platforms/pseries/xics.c
===================================================================
--- next.git.orig/arch/powerpc/platforms/pseries/xics.c	2008-10-04 23:54:18.000000000 -0500
+++ next.git/arch/powerpc/platforms/pseries/xics.c	2008-10-04 23:55:43.000000000 -0500
@@ -557,11 +557,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);
 }
 



More information about the Linuxppc-dev mailing list