[PATCH] 2.6.11 does not handle IRQ #0 on IXP4xx ARM platforms

From: Juan M. de la Torre
Date: Sat Mar 12 2005 - 14:07:08 EST



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