]> 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)
commit9d0a800b6805dc34de984e1fca45152ff45d2048
tree00d35813e753d704a26169b2d70390325548b444
parentaf32288eefa46dbc9db50d35a1e79487ac67bb4d
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