Skip to content

Commit

Permalink
Revert "genirq: assert that irq handlers are indeed running in hardir…
Browse files Browse the repository at this point in the history
…q context"

This reverts commit 044d408.

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.

Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
KAGA-KOKO committed May 1, 2009
1 parent 091438d commit d7226fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/irq/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action)
irqreturn_t ret, retval = IRQ_NONE;
unsigned int status = 0;

WARN_ONCE(!in_irq(), "BUG: IRQ handler called from non-hardirq context!");

if (!(action->flags & IRQF_DISABLED))
local_irq_enable_in_hardirq();

Expand Down

0 comments on commit d7226fb

Please sign in to comment.