eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card.
PATCH 1/1 eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card.
drivers/pcmcia/rsrc_mgr.c Tue May 13 18:18:35 2003 renamed from drivers/pcmcia/rsrc_mgr.c Mon May 5 00:53:32 2003 +1 -1
@@ -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)
drivers/pcmcia/rsrc_mgr.c Tue May 13 18:18:35 2003 line 607
Quoted 13 lines · Simon Kelley
diff -urN
linux-2.5.69.orig/drivers/pcmcia/rsrc_mgr.clinux-2.5.69/drivers/pcmcia/rsrc_mgr.cdrivers/pcmcia/rsrc_mgr.c Tue May 13 18:18:35 2003 renamed from drivers/pcmcia/rsrc_mgr.c Mon May 5 00:53:32 2003 +1
-1@@ -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)
Oh damn, and I was hoping to kill fake_irq and make it use no_action() instead!
Signature · 2 lines
Russell King ([email protected]) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html