summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xics/xics-common.c
diff options
context:
space:
mode:
authorYong Zhang2011-10-22 01:56:27 +0200
committerBenjamin Herrenschmidt2011-11-08 04:51:46 +0100
commita3a9f3b47d12b5f6dfc9c7ed9d7b193d77812195 (patch)
treedf6ec9ab1e4a9d28a23b17b1b0b8ce98073f1c29 /arch/powerpc/sysdev/xics/xics-common.c
parentpowerpc/numa: NUMA topology support for PowerNV (diff)
downloadkernel-qcow2-linux-a3a9f3b47d12b5f6dfc9c7ed9d7b193d77812195.tar.gz
kernel-qcow2-linux-a3a9f3b47d12b5f6dfc9c7ed9d7b193d77812195.tar.xz
kernel-qcow2-linux-a3a9f3b47d12b5f6dfc9c7ed9d7b193d77812195.zip
powerpc/irq: Remove IRQF_DISABLED
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled and we even check and yell when an interrupt handler returns with interrupts enabled (see commit [b738a50a: genirq: Warn when handler enables interrupts]). So now this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/xics/xics-common.c')
-rw-r--r--arch/powerpc/sysdev/xics/xics-common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/xics/xics-common.c b/arch/powerpc/sysdev/xics/xics-common.c
index 3d93a8ded0f8..63762c672a03 100644
--- a/arch/powerpc/sysdev/xics/xics-common.c
+++ b/arch/powerpc/sysdev/xics/xics-common.c
@@ -134,11 +134,10 @@ static void xics_request_ipi(void)
BUG_ON(ipi == NO_IRQ);
/*
- * IPIs are marked IRQF_DISABLED as they must run with irqs
- * disabled, and PERCPU. The handler was set in map.
+ * IPIs are marked IRQF_PERCPU. The handler was set in map.
*/
BUG_ON(request_irq(ipi, icp_ops->ipi_action,
- IRQF_DISABLED|IRQF_PERCPU, "IPI", NULL));
+ IRQF_PERCPU, "IPI", NULL));
}
int __init xics_smp_probe(void)