summaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-malta
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-09-17 18:07:48 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-10-04 19:33:56 +0200
commit863cb9bad8f992a9c171e90552045eac77808e84 (patch)
tree27bc4a56644d9b8e388b72b14fca3a18fe5da7e8 /arch/mips/mti-malta
parentMIPS: Kconfig: Fix and clarify kconfig help text for VSMP and SMTC. (diff)
downloadlinux-863cb9bad8f992a9c171e90552045eac77808e84.tar.xz
linux-863cb9bad8f992a9c171e90552045eac77808e84.zip
MIPS: GIC: Remove dependencies from Malta files.
This prevents the GIC code from being reusable sanely. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-malta')
-rw-r--r--arch/mips/mti-malta/malta-int.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c
index 15949b0be811..b79b24afe3a2 100644
--- a/arch/mips/mti-malta/malta-int.c
+++ b/arch/mips/mti-malta/malta-int.c
@@ -385,6 +385,8 @@ static int __initdata msc_nr_eicirqs = ARRAY_SIZE(msc_eicirqmap);
*/
#define GIC_CPU_NMI GIC_MAP_TO_NMI_MSK
+#define X GIC_UNUSED
+
static struct gic_intr_map gic_intr_map[GIC_NUM_INTRS] = {
{ X, X, X, X, 0 },
{ X, X, X, X, 0 },
@@ -404,6 +406,7 @@ static struct gic_intr_map gic_intr_map[GIC_NUM_INTRS] = {
{ X, X, X, X, 0 },
/* The remainder of this table is initialised by fill_ipi_map */
};
+#undef X
/*
* GCMP needs to be detected before any SMP initialisation