]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/pseries: Make query_cpu_stopped callable outside hotplug cpu
authorMichael Neuling <mikey@neuling.org>
Wed, 28 Apr 2010 13:39:41 +0000 (13:39 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:20 +0000 (11:22 -0700)
commitf7055d7153c523b65848e08ed7f8f27071d03730
tree50ca6f9acbeeb0e3d4e6bc8dc17d6f9858dd277b
parent580506f5514735aa4e6b0d8f8f0dc7db7dcd4044
powerpc/pseries: Make query_cpu_stopped callable outside hotplug cpu

commit f8b67691828321f5c85bb853283aa101ae673130 upstream.

This moves query_cpu_stopped() out of the hotplug cpu code and into
smp.c so it can called in other places and renames it to
smp_query_cpu_stopped().

It also cleans up the return values by adding some #defines

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/powerpc/platforms/pseries/plpar_wrappers.h
arch/powerpc/platforms/pseries/smp.c