powerpc: Add kconfig for muxed smp ipi support
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:29:42 +0000 (19:29 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:05 +0000 (15:31 +1000)
commit1ece355b6825b7c61d1dc39a5c6cf49dc746e193
tree8302fa4a63addc8a621d4dcd49a487f6a77ca393
parent23d72bfd8f9f24aa9efafed3586a99f5669c23d7
powerpc: Add kconfig for muxed smp ipi support

Compile the new smp ipi mux and demux code only if a platform
will make use of it.  The new config is selected as required.

The new cause_ipi smp op is only available conditionally to point out
configs where the select is required; this makes setting the op an
immediate fail instead of a deferred unresolved symbol at link.

This also creates a new config for power surge powermac upgrade support
that can be disabled in expert mode but is default on.

I also removed the depends / default y on CONFIG_XICS since it is selected
by PSERIES.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/smp.h
arch/powerpc/kernel/smp.c
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/platforms/iseries/Kconfig
arch/powerpc/platforms/powermac/Kconfig
arch/powerpc/platforms/powermac/pic.c
arch/powerpc/platforms/powermac/smp.c
arch/powerpc/sysdev/xics/Kconfig