Skip to content

Commit

Permalink
[ARM] 4840/1: pxa: fix the typo in get_irqnr_and_base
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
eric miao authored and Russell King committed Feb 29, 2008
1 parent 9ae3ae0 commit a3359e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-arm/arch-pxa/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3359e2

Please sign in to comment.