History

Revert "genirq: assert that irq handlers are indeed running in hardirq context"

This reverts commit 044d408409cc4e1bc75c886e27ca85c270db104c. The commit added a warning when handle_IRQ_event() is called outside of hard interrupt context. This breaks the generic tasklet based interrupt resend mechanism which is used when the hardware has no way to retrigger the interrupt. So we get a warning for a use case which is correct and worked for years. Remove it.

Thomas Gleixner committed 17 years ago

Commit d7226fb1 parent 091438d1 file · +0 −2Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/irq/handle.c+0−2
@@ -363,8 +363,6 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action) · 362 unmodified lines
363363 irqreturn_t ret, retval = IRQ_NONE;
364364 unsigned int status = 0;
365365
366− WARN_ONCE(!in_irq(), "BUG: IRQ handler called from non-hardirq context!");
367−
368366 if (!(action->flags & IRQF_DISABLED))
369367 local_irq_enable_in_hardirq();
370368