]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ffeead0017226356e0305a77036c5f684025232
treebb87519fb5ee650c007e0a19ac1c452f0d07602d
parent586e73dad640aa2416ea7c444ef2f22a108c470d
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