[PATCH 3/9] omap4: Use get_irqnr_preamble
Tony Lindgren
tony at atomide.com
Fri Jan 29 21:01:30 EST 2010
Use get_irqnr_preamble
Signed-off-by: Tony Lindgren <tony at atomide.com>
---
arch/arm/mach-omap2/include/mach/entry-macro.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/include/mach/entry-macro.S b/arch/arm/mach-omap2/include/mach/entry-macro.S
index 3e63aaa..101ed79 100644
--- a/arch/arm/mach-omap2/include/mach/entry-macro.S
+++ b/arch/arm/mach-omap2/include/mach/entry-macro.S
@@ -92,6 +92,7 @@ omap_irq_base: .word 0
#ifdef CONFIG_ARCH_OMAP4
.macro get_irqnr_preamble, base, tmp
+ ldr \base, =OMAP4_IRQ_BASE
.endm
/*
@@ -114,7 +115,6 @@ omap_irq_base: .word 0
* valid range for an IRQ (30-1020 inclusive).
*/
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
- ldr \base, =OMAP4_IRQ_BASE
ldr \irqstat, [\base, #GIC_CPU_INTACK]
ldr \tmp, =1021
More information about the linux-arm-kernel
mailing list