Re: [PATCH] eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card.

Russell King (rmk@arm.linux.org.uk)
Tue, 13 May 2003 19:55:13 +0100


On Tue, May 13, 2003 at 06:25:44PM +0100, Simon Kelley wrote:
> 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)
>

Oh damn, and I was hoping to kill fake_irq and make it use no_action()
instead!

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/