powerpc: Add smp_generic_cpu_bootable
authorAndy Fleming <afleming@freescale.com>
Mon, 5 Aug 2013 19:58:34 +0000 (14:58 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 04:56:50 +0000 (14:56 +1000)
commit3cd852502316d42e3e75859e92d9f0a952bb55a2
treebb87519fb5ee650c007e0a19ac1c452f0d07602d
parent3b04c300070f5ee2608b092e98aa121b963cec26
powerpc: Add smp_generic_cpu_bootable

Cell and PSeries both implemented their own versions of a
cpu_bootable smp_op which do the same thing (well, the PSeries
one has support for more than 2 threads). Copy the PSeries one
to generic code, and rename it smp_generic_cpu_bootable.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/smp.h
arch/powerpc/kernel/smp.c