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>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
1c8ee73395
commit
a3a9f3b47d
@@ -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)
|
||||
|
Reference in New Issue
Block a user