aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-02-15 12:27:25 -0500
committerTony Lindgren <tony@atomide.com>2010-02-15 12:27:25 -0500
commitbe8f317740f218bda59cc5ae5aefcdd7a333762a (patch)
tree5314075ebd57ce4f5884764dd8f8a2e2f60f5978 /arch/arm/mach-omap2/include
parent95d2b4e9cbba4c9a2ac63205e846e7ccfebe69b4 (diff)
omap4: Use get_irqnr_preamble
Use get_irqnr_preamble Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/include')
-rw-r--r--arch/arm/mach-omap2/include/mach/entry-macro.S2
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 3e63aaabebe7..101ed79deec4 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
92#ifdef CONFIG_ARCH_OMAP4 92#ifdef CONFIG_ARCH_OMAP4
93 93
94 .macro get_irqnr_preamble, base, tmp 94 .macro get_irqnr_preamble, base, tmp
95 ldr \base, =OMAP4_IRQ_BASE
95 .endm 96 .endm
96 97
97 /* 98 /*
@@ -114,7 +115,6 @@ omap_irq_base: .word 0
114 * valid range for an IRQ (30-1020 inclusive). 115 * valid range for an IRQ (30-1020 inclusive).
115 */ 116 */
116 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp 117 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
117 ldr \base, =OMAP4_IRQ_BASE
118 ldr \irqstat, [\base, #GIC_CPU_INTACK] 118 ldr \irqstat, [\base, #GIC_CPU_INTACK]
119 119
120 ldr \tmp, =1021 120 ldr \tmp, =1021