Skip to content

Commit

Permalink
omap4: Use get_irqnr_preamble
Browse files Browse the repository at this point in the history
Use get_irqnr_preamble

Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Feb 15, 2010
1 parent 95d2b4e commit be8f317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand All @@ -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
Expand Down

0 comments on commit be8f317

Please sign in to comment.