aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/irq-gic.c
diff options
context:
space:
mode:
authorTim Anderson <tanderson@mvista.com>2009-06-17 19:22:25 -0400
committerRalf Baechle <ralf@linux-mips.org>2009-07-03 10:45:26 -0400
commita214cef9a5d06894785dca1f967c9c324cc84c17 (patch)
tree9cad1695afea9987ea979f59a614f39ef2ea8ada /arch/mips/kernel/irq-gic.c
parent9306c8def6abc2dbde4ac75eb6c631606b8fc1dd (diff)
MIPS: CMP: Extend IPI handling to CPU number
This takes the current IPI interrupt assignment from the fix number of 4 to the number of CPUs defined in the system. Signed-off-by: Tim Anderson <tanderson@mvista.com> 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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/kernel/irq-gic.c b/arch/mips/kernel/irq-gic.c
index 5c85e1ce0499..d2072cd38592 100644
--- a/arch/mips/kernel/irq-gic.c
+++ b/arch/mips/kernel/irq-gic.c
@@ -247,6 +247,10 @@ static void __init gic_basic_init(void)
247 if (cpu == X) 247 if (cpu == X)
248 continue; 248 continue;
249 249
250 if (cpu == 0 && i != 0 && _intrmap[i].intrnum == 0 &&
251 _intrmap[i].ipiflag == 0)
252 continue;
253
250 setup_intr(_intrmap[i].intrnum, 254 setup_intr(_intrmap[i].intrnum,
251 _intrmap[i].cpunum, 255 _intrmap[i].cpunum,
252 _intrmap[i].pin, 256 _intrmap[i].pin,