mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.6.11 does not handle IRQ #0 on IXP4xx ARM platforms
@ 2005-03-12 19:03 Juan M. de la Torre
  2005-03-12 19:13 ` Ben Dooks
  0 siblings, 1 reply; 2+ messages in thread
From: Juan M. de la Torre @ 2005-03-12 19:03 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 261 bytes --]


 The original get_irqnr_and_bse macro leave Z flag set when the IRQ
 being handled is #0, but the correct behaviour is to clear the flag
 when there is at least one IRQ to handle.
 
PS: Please CC me in the reply because i'm not subscribed to the list

-- 
/jm

[-- Attachment #2: ixp4xx-irq0.patch --]
[-- Type: text/plain, Size: 356 bytes --]

--- linux-2.6.11/include/asm-arm/arch-ixp4xx/entry-macro.S	2005-03-12 19:53:03.000000000 +0100
+++ linux-2.6.11-new/include/asm-arm/arch-ixp4xx/entry-macro.S	2005-03-12 19:54:18.000000000 +0100
@@ -18,7 +18,7 @@
 		beq	1001f
 		clz     \irqnr, \irqstat
 		mov     \base, #31
-		subs    \irqnr, \base, \irqnr
+		sub     \irqnr, \base, \irqnr
 
 1001:
 		/*

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

* Re: [PATCH] 2.6.11 does not handle IRQ #0 on IXP4xx ARM platforms
  2005-03-12 19:03 [PATCH] 2.6.11 does not handle IRQ #0 on IXP4xx ARM platforms Juan M. de la Torre
@ 2005-03-12 19:13 ` Ben Dooks
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2005-03-12 19:13 UTC (permalink / raw)
  To: Juan M. de la Torre; +Cc: linux-kernel

On Sat, Mar 12, 2005 at 08:03:58PM +0100, Juan M. de la Torre wrote:
> 
>  The original get_irqnr_and_bse macro leave Z flag set when the IRQ
>  being handled is #0, but the correct behaviour is to clear the flag
>  when there is at least one IRQ to handle.
>  
> PS: Please CC me in the reply because i'm not subscribed to the list

Best talk to the linux-arm-kernel list, which can be found
on http://www.arm.linux.org.uk/

There is also an linux-arm patch tracking system there where
you can submit fixes like that for the Linux/ARM community
to check.

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

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

end of thread, other threads:[~2005-03-12 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-12 19:03 [PATCH] 2.6.11 does not handle IRQ #0 on IXP4xx ARM platforms Juan M. de la Torre
2005-03-12 19:13 ` Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®