aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2011-11-02 11:28:49 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2011-11-15 13:13:04 -0500
commitbaeeb8229cace91c10c856d91e5ca861d3c44968 (patch)
treefebc69c7c0458df9ae0a3d0b05bc2590fa3df291
parentabeb24ae4d3e543ecf0104cff08a3af4e7a42479 (diff)
ARM: mxc: rename gic_handle_irq to avoid name clash
Before introducing a global gic_handle_irq(), rename MXC's version to mxc_gic_handle_irq(). This function will be removed altogether in a later patch. Cc: Sascha Hauer <kernel@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r--arch/arm/plat-mxc/gic.c2
-rw-r--r--arch/arm/plat-mxc/include/mach/common.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/gic.c b/arch/arm/plat-mxc/gic.c
index 12f8f8109010..ea51ea4aba67 100644
--- a/arch/arm/plat-mxc/gic.c
+++ b/arch/arm/plat-mxc/gic.c
@@ -18,7 +18,7 @@
18#include <asm/smp.h> 18#include <asm/smp.h>
19#endif 19#endif
20 20
21asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs) 21asmlinkage void __exception_irq_entry mxc_gic_handle_irq(struct pt_regs *regs)
22{ 22{
23 u32 irqstat, irqnr; 23 u32 irqstat, irqnr;
24 24
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h
index 83b745a5e1b7..d7c290d32e3e 100644
--- a/arch/arm/plat-mxc/include/mach/common.h
+++ b/arch/arm/plat-mxc/include/mach/common.h
@@ -90,7 +90,7 @@ extern void imx_print_silicon_rev(const char *cpu, int srev);
90 90
91void avic_handle_irq(struct pt_regs *); 91void avic_handle_irq(struct pt_regs *);
92void tzic_handle_irq(struct pt_regs *); 92void tzic_handle_irq(struct pt_regs *);
93void gic_handle_irq(struct pt_regs *); 93void mxc_gic_handle_irq(struct pt_regs *);
94 94
95#define imx1_handle_irq avic_handle_irq 95#define imx1_handle_irq avic_handle_irq
96#define imx21_handle_irq avic_handle_irq 96#define imx21_handle_irq avic_handle_irq
@@ -101,7 +101,7 @@ void gic_handle_irq(struct pt_regs *);
101#define imx50_handle_irq tzic_handle_irq 101#define imx50_handle_irq tzic_handle_irq
102#define imx51_handle_irq tzic_handle_irq 102#define imx51_handle_irq tzic_handle_irq
103#define imx53_handle_irq tzic_handle_irq 103#define imx53_handle_irq tzic_handle_irq
104#define imx6q_handle_irq gic_handle_irq 104#define imx6q_handle_irq mxc_gic_handle_irq
105 105
106extern void imx_enable_cpu(int cpu, bool enable); 106extern void imx_enable_cpu(int cpu, bool enable);
107extern void imx_set_cpu_jump(int cpu, void *jump_addr); 107extern void imx_set_cpu_jump(int cpu, void *jump_addr);