[ARM] 4840/1: pxa: fix the typo in get_irqnr_and_base
authoreric miao <eric.y.miao@gmail.com>
Wed, 27 Feb 2008 00:59:28 +0000 (01:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 Feb 2008 22:47:23 +0000 (22:47 +0000)
This typo causes the incorrect calculation of the IRQ numbers
in the ICIP2 registers.

Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/entry-macro.S

index b7e7308..c145bb0 100644 (file)
@@ -35,7 +35,7 @@
 1004:
                mrc     p6, 0, \irqstat, c6, c0, 0      @ ICIP2
                mrc     p6, 0, \irqnr, c7, c0, 0        @ ICMR2
-               ands    \irqstat, \irqstat, \irqnr
+               ands    \irqnr, \irqstat, \irqnr
                beq     1003f
                rsb     \irqstat, \irqnr, #0
                and     \irqstat, \irqstat, \irqnr