diff options
Diffstat (limited to 'arch/arm/mach-netx/include/mach/entry-macro.S')
-rw-r--r-- | arch/arm/mach-netx/include/mach/entry-macro.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-netx/include/mach/entry-macro.S b/arch/arm/mach-netx/include/mach/entry-macro.S index a1952a0feda6..844f1f9acbdf 100644 --- a/arch/arm/mach-netx/include/mach/entry-macro.S +++ b/arch/arm/mach-netx/include/mach/entry-macro.S | |||
@@ -24,15 +24,13 @@ | |||
24 | .endm | 24 | .endm |
25 | 25 | ||
26 | .macro get_irqnr_preamble, base, tmp | 26 | .macro get_irqnr_preamble, base, tmp |
27 | ldr \base, =io_p2v(0x001ff000) | ||
27 | .endm | 28 | .endm |
28 | 29 | ||
29 | .macro arch_ret_to_user, tmp1, tmp2 | 30 | .macro arch_ret_to_user, tmp1, tmp2 |
30 | .endm | 31 | .endm |
31 | 32 | ||
32 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | 33 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp |
33 | mov \base, #io_p2v(0x00100000) | ||
34 | add \base, \base, #0x000ff000 | ||
35 | |||
36 | ldr \irqstat, [\base, #0] | 34 | ldr \irqstat, [\base, #0] |
37 | clz \irqnr, \irqstat | 35 | clz \irqnr, \irqstat |
38 | rsb \irqnr, \irqnr, #31 | 36 | rsb \irqnr, \irqnr, #31 |