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/kernel/irq-gic.c | |
parent | 25f12b339caea6b3ca750871d8cecbda70fd83c6 (diff) | |
download | blackbird-op-linux-863cb9bad8f992a9c171e90552045eac77808e84.tar.gz blackbird-op-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/kernel/irq-gic.c')
-rw-r--r-- | arch/mips/kernel/irq-gic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/irq-gic.c b/arch/mips/kernel/irq-gic.c index b181f2f0ea8e..3e57e290dbb0 100644 --- a/arch/mips/kernel/irq-gic.c +++ b/arch/mips/kernel/irq-gic.c @@ -7,7 +7,6 @@ #include <asm/io.h> #include <asm/gic.h> #include <asm/gcmpregs.h> -#include <asm/mips-boards/maltaint.h> #include <asm/irq.h> #include <linux/hardirq.h> #include <asm-generic/bitops/find.h> @@ -222,7 +221,7 @@ static void __init gic_basic_init(int numintrs, int numvpes, /* Setup specifics */ for (i = 0; i < mapsize; i++) { cpu = intrmap[i].cpunum; - if (cpu == X) + if (cpu == GIC_UNUSED) continue; if (cpu == 0 && i != 0 && intrmap[i].flags == 0) continue; |