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

From: Colin Cross
Date: Sun May 01 2011 - 17:11:24 EST


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@xxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/