aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-versatile/entry-macro.S
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-05-12 15:25:50 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-12 15:25:50 +0100
commit641e79129a56a4c50be1aed0fa713f440b46a440 (patch)
tree41831a6b7927d2d392f5dad8cad7ddd38c363315 /include/asm-arm/arch-versatile/entry-macro.S
parent3b938be69e46b64a516b6e3ed6d93c40c091f22c (diff)
downloadkernel_samsung_smdk4412-641e79129a56a4c50be1aed0fa713f440b46a440.zip
kernel_samsung_smdk4412-641e79129a56a4c50be1aed0fa713f440b46a440.tar.gz
kernel_samsung_smdk4412-641e79129a56a4c50be1aed0fa713f440b46a440.tar.bz2
[ARM] Use new get_irqnr_preamble
Use the new get_irqnr_preamble macro to move the address of the IRQ controller outside the IRQ handling loop. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-versatile/entry-macro.S')
-rw-r--r--include/asm-arm/arch-versatile/entry-macro.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-versatile/entry-macro.S b/include/asm-arm/arch-versatile/entry-macro.S
index 0fae002..924d1a8 100644
--- a/include/asm-arm/arch-versatile/entry-macro.S
+++ b/include/asm-arm/arch-versatile/entry-macro.S
@@ -14,13 +14,13 @@
.endm
.macro get_irqnr_preamble, base, tmp
+ ldr \base, =IO_ADDRESS(VERSATILE_VIC_BASE)
.endm
.macro arch_ret_to_user, tmp1, tmp2
.endm
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
- ldr \base, =IO_ADDRESS(VERSATILE_VIC_BASE)
ldr \irqstat, [\base, #VIC_IRQ_STATUS] @ get masked status
mov \irqnr, #0
teq \irqstat, #0