linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card.
@ 2003-05-13 17:25 Simon Kelley
  2003-05-13 18:55 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Kelley @ 2003-05-13 17:25 UTC (permalink / raw)
  To: linux-kernel

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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card.
  2003-05-13 17:25 [PATCH] eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card Simon Kelley
@ 2003-05-13 18:55 ` Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2003-05-13 18:55 UTC (permalink / raw)
  To: Simon Kelley; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-13 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13 17:25 [PATCH] eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card Simon Kelley
2003-05-13 18:55 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).