powerpc/smp: Don't expose per-cpu "cpu_state" array
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 31 Mar 2011 22:23:37 +0000 (09:23 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 1 Apr 2011 04:37:33 +0000 (15:37 +1100)
commit105765f451d3ff007bb4ae3761e825686d9615db
treed1b224faab2237a5e17f1e4139f596f75e77acb3
parent734796f12351f9a0f38c47b981414f82d852f222
powerpc/smp: Don't expose per-cpu "cpu_state" array

Instead, keep it static, expose an accessor and use that from
the PowerMac code. Avoids easy namespace collisions and will
make it easier to consolidate with other implementations.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/smp.h
arch/powerpc/kernel/smp.c
arch/powerpc/platforms/powermac/smp.c