summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-iop33x/entry-macro.S
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-iop33x/entry-macro.S')
-rw-r--r--include/asm-arm/arch-iop33x/entry-macro.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-arm/arch-iop33x/entry-macro.S b/include/asm-arm/arch-iop33x/entry-macro.S
index 980ec9b1ac8..57f6ea0069e 100644
--- a/include/asm-arm/arch-iop33x/entry-macro.S
+++ b/include/asm-arm/arch-iop33x/entry-macro.S
@@ -17,10 +17,11 @@
*/
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
mov \irqnr, #0
- mrc p6, 0, \irqstat, c4, c0, 0 @ Read IINTSRC0
+ ldr \base, =IOP3XX_REG_ADDR(0x7A0)
+ ldr \irqstat, [\base] @ Read IINTSRC0
cmp \irqstat, #0
bne 1002f
- mrc p6, 0, \irqstat, c5, c0, 0 @ Read IINTSRC1
+ ldr \irqstat, [\base, #4] @ Read IINTSRC1
cmp \irqstat, #0
beq 1001f
clz \irqnr, \irqstat