diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-09-17 17:07:48 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-10-04 18:33:56 +0100 |
commit | 863cb9bad8f992a9c171e90552045eac77808e84 (patch) | |
tree | 27bc4a56644d9b8e388b72b14fca3a18fe5da7e8 /arch/mips/mti-malta | |
parent | 25f12b339caea6b3ca750871d8cecbda70fd83c6 (diff) | |
download | talos-obmc-linux-863cb9bad8f992a9c171e90552045eac77808e84.tar.gz talos-obmc-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.c | 3 |
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 |