提交 be8f3177 编写于 作者: T Tony Lindgren

omap4: Use get_irqnr_preamble

Use get_irqnr_preamble
Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 95d2b4e9
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册