]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "genirq: temporary fix for level-triggered IRQ resend"
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 9 Aug 2007 15:10:16 +0000 (08:10 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 9 Aug 2007 15:10:16 +0000 (08:10 -0700)
This reverts commit 378aed4c151fba2d0bb27232f3858c7f1839f7c7.  It was
always meant to be temporary, but it's generating more useless noise
than anything else, and we probably should never have done it in the
generic kernel (only had the people involved test it on their own).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/resend.c

index c382727468876dbd84c2ba6b9e89ae5a6464de1e..5bfeaed7e4872850049d40aef740d24b983adebf 100644 (file)
@@ -62,15 +62,6 @@ void check_irq_resend(struct irq_desc *desc, unsigned int irq)
         */
        desc->chip->enable(irq);
 
-       /*
-        * Temporary hack to figure out more about the problem, which
-        * is causing the ancient network cards to die.
-        */
-       if (desc->handle_irq != handle_edge_irq) {
-               WARN_ON_ONCE(1);
-               return;
-       }
-
        if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
                desc->status = (status & ~IRQ_PENDING) | IRQ_REPLAY;