]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce594efca78e6d8fa490387698ff21d900a08bb2
treed1b224faab2237a5e17f1e4139f596f75e77acb3
parent580ea8f3459f6441913489638ff4f0afa7e2b87d
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