]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit162e8541fbec8fbe4b7701fd4292d4df7d3adbc7
tree00d35813e753d704a26169b2d70390325548b444
parentddb9216bf04c5eaac98a7e5f31677241809cd1e2
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