OSDN Git Service

powerpc/pseries: Move smp_query_cpu_stopped() etc. out of plpar_wrappers.h
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Mar 2018 02:54:39 +0000 (13:54 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 12:43:03 +0000 (23:43 +1100)
commit16560e88320d276036b393d4ba51cf0184f6caca
tree9798929510bf5741cca14f0a50d46754eb3d5dbd
parente82d70cf965072a3872ea97b7d8df4b6f29fc09f
powerpc/pseries: Move smp_query_cpu_stopped() etc. out of plpar_wrappers.h

smp_query_cpu_stopped() and related #defines are currently in
plpar_wrappers.h. The function actually does an RTAS call, not an
hcall, and basically has nothing to do with plpar_wrappers.h

Move it into pseries.h, where it can easily be used by the only two
callers in pseries/smp.c and pseries/hotplug-cpu.c.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/plpar_wrappers.h
arch/powerpc/platforms/pseries/pseries.h