powerpc/psurge: Create a irq_host for secondary cpus
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:30:22 +0000 (19:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:51 +0000 (15:31 +1000)
commit23f73a5fb0dee5ab681bfeb8897bcfc57153ba9a
tree00d35813e753d704a26169b2d70390325548b444
parent67347eba156d64150be73c9f5797342a66b123d9
powerpc/psurge: Create a irq_host for secondary cpus

Create a dummy irq_host using the generic dummy irq chip for the secondary
cpus to use.  Create a direct irq mapping for the ipi and register the
ipi action handler against it.  If for some unlikely reason part of this
fails then don't detect the secondary cpus.

This removes another instance of NO_IRQ_IGNORE, records the ipi stats
for the secondary cpus, and runs the ipi on the interrupt stack.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powermac/pic.c
arch/powerpc/platforms/powermac/pmac.h
arch/powerpc/platforms/powermac/smp.c
This page took 0.027335 seconds and 5 git commands to generate.