aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r--kernel/irq/handle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index e68bb5aebe02..5dd2572993cf 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -360,8 +360,6 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action)
360 irqreturn_t ret, retval = IRQ_NONE; 360 irqreturn_t ret, retval = IRQ_NONE;
361 unsigned int status = 0; 361 unsigned int status = 0;
362 362
363 WARN_ONCE(!in_irq(), "BUG: IRQ handler called from non-hardirq context!");
364
365 if (!(action->flags & IRQF_DISABLED)) 363 if (!(action->flags & IRQF_DISABLED))
366 local_irq_enable_in_hardirq(); 364 local_irq_enable_in_hardirq();
367 365