[PATCH] eliminates irqN: nobody cared! and backtrace on inserting

Simon Kelley (simon@thekelleys.org.uk)
Tue, 13 May 2003 18:25:44 +0100


diff -urN linux-2.5.69.orig/drivers/pcmcia/rsrc_mgr.c linux-2.5.69/drivers/pcmcia/rsrc_mgr.c
--- linux-2.5.69.orig/drivers/pcmcia/rsrc_mgr.c Mon May 5 00:53:32 2003
+++ linux-2.5.69/drivers/pcmcia/rsrc_mgr.c Tue May 13 18:18:35 2003
@@ -601,7 +601,7 @@

#ifdef CONFIG_PCMCIA_PROBE

-static irqreturn_t fake_irq(int i, void *d, struct pt_regs *r) { return IRQ_NONE; }
+static irqreturn_t fake_irq(int i, void *d, struct pt_regs *r) { return IRQ_HANDLED; }
static inline int check_irq(int irq)
{
if (request_irq(irq, fake_irq, 0, "bogus", NULL) != 0)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/