aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-03-02 04:45:53 -0500
committerHelge Deller <deller@gmx.de>2013-02-20 16:50:26 -0500
commitb54cb2332e387f29c65f19f3620e5c812c89a328 (patch)
treef583188f34b154f3a17ce5e2a0747b553faea4a1 /arch/parisc/kernel
parentcca8e9026041544c0103b3037d8f03c1d2f4ae02 (diff)
parisc: remove IRQF_DISABLED
People are playing odd games with IRQF_DISABLED, remove it. Its not reliable, since shared interrupt lines could disable it for you, and its possible and allowed for archs to disable IRQs to limit IRQ nesting. Therefore, simply mandate that _ALL_ IRQ handlers are run with IRQs disabled. [ This _should_ not break anything, since we've mandated that IRQ handlers _must_ be able to deal with this for a _long_ time ] IRQ handlers should be fast, no if buts and any other exceptions. We also have plenty instrumentation to find any offending IRQ latency sources. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c
index 0299d63cd112..8094d3ed3b64 100644
--- a/arch/parisc/kernel/irq.c
+++ b/arch/parisc/kernel/irq.c
@@ -379,14 +379,14 @@ void do_cpu_irq_mask(struct pt_regs *regs)
379static struct irqaction timer_action = { 379static struct irqaction timer_action = {
380 .handler = timer_interrupt, 380 .handler = timer_interrupt,
381 .name = "timer", 381 .name = "timer",
382 .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_PERCPU | IRQF_IRQPOLL, 382 .flags = IRQF_TIMER | IRQF_PERCPU | IRQF_IRQPOLL,
383}; 383};
384 384
385#ifdef CONFIG_SMP 385#ifdef CONFIG_SMP
386static struct irqaction ipi_action = { 386static struct irqaction ipi_action = {
387 .handler = ipi_interrupt, 387 .handler = ipi_interrupt,
388 .name = "IPI", 388 .name = "IPI",
389 .flags = IRQF_DISABLED | IRQF_PERCPU, 389 .flags = IRQF_PERCPU,
390}; 390};
391#endif 391#endif
392 392