From: eric miao Date: Wed, 27 Feb 2008 00:59:28 +0000 (+0100) Subject: [ARM] 4840/1: pxa: fix the typo in get_irqnr_and_base X-Git-Tag: v3.12-rc1~22608^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3359e21c06cb5b366fb47307b3d2fd23386a774;p=kernel%2Fkernel-generic.git [ARM] 4840/1: pxa: fix the typo in get_irqnr_and_base This typo causes the incorrect calculation of the IRQ numbers in the ICIP2 registers. Signed-off-by: eric miao Signed-off-by: Russell King --- diff --git a/include/asm-arm/arch-pxa/entry-macro.S b/include/asm-arm/arch-pxa/entry-macro.S index b7e7308..c145bb0 100644 --- a/include/asm-arm/arch-pxa/entry-macro.S +++ b/include/asm-arm/arch-pxa/entry-macro.S @@ -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