From: Milton Miller Date: Fri, 10 Oct 2008 01:56:39 +0000 (+0000) Subject: powerpc/xics: Mark xics IPI interrupt as per-cpu X-Git-Tag: v2.6.28-rc1~569^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d879f3849c93743e170a8dc60a8dfb66150c420d;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c index 165234d2599..5ba3e009296 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) */ 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); }