[PATCH 4/4] ARM: tegra: irq: Replace tegra_ack with tegra_eoi

Colin Cross ccross at android.com
Sun May 1 17:10:13 EDT 2011


When the GIC flow control function is replaced with
handle_fasteoi_irq, the eoi arch extension will be called
instead of ack.

Signed-off-by: Colin Cross <ccross at android.com>
---
 arch/arm/mach-tegra/irq.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c
index 1883203..35fb2f10 100644
--- a/arch/arm/mach-tegra/irq.c
+++ b/arch/arm/mach-tegra/irq.c
@@ -83,7 +83,7 @@ static void tegra_unmask(struct irq_data *d)
 	writel(1 << (leg_irq & 31), base + ICTLR_CPU_IER_SET);
 }
 
-static void tegra_ack(struct irq_data *d)
+static void tegra_eoi(struct irq_data *d)
 {
 	void __iomem *base;
 	int leg_irq;
@@ -121,7 +121,7 @@ void __init tegra_init_irq(void)
 		writel(0, ictlr + ICTLR_CPU_IEP_CLASS);
 	}
 
-	gic_arch_extn.irq_ack = tegra_ack;
+	gic_arch_extn.irq_eoi = tegra_eoi;
 	gic_arch_extn.irq_mask = tegra_mask;
 	gic_arch_extn.irq_unmask = tegra_unmask;
 	gic_arch_extn.irq_retrigger = tegra_retrigger;
-- 
1.7.4.1




More information about the linux-arm-kernel mailing list