summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/plpar_wrappers.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-03-08 03:54:39 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-13 13:43:03 +0100
commit16560e88320d276036b393d4ba51cf0184f6caca (patch)
tree9798929510bf5741cca14f0a50d46754eb3d5dbd /arch/powerpc/include/asm/plpar_wrappers.h
parentpowerpc/32: Add missing prototypes for (early|machine)_init() (diff)
downloadlinux-16560e88320d276036b393d4ba51cf0184f6caca.tar.xz
linux-16560e88320d276036b393d4ba51cf0184f6caca.zip
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>
Diffstat (limited to 'arch/powerpc/include/asm/plpar_wrappers.h')
-rw-r--r--arch/powerpc/include/asm/plpar_wrappers.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/include/asm/plpar_wrappers.h b/arch/powerpc/include/asm/plpar_wrappers.h
index 55eddf50d149..1776af9e0118 100644
--- a/arch/powerpc/include/asm/plpar_wrappers.h
+++ b/arch/powerpc/include/asm/plpar_wrappers.h
@@ -9,14 +9,6 @@
#include <asm/paca.h>
#include <asm/page.h>
-/* Get state of physical CPU from query_cpu_stopped */
-int smp_query_cpu_stopped(unsigned int pcpu);
-#define QCSS_STOPPED 0
-#define QCSS_STOPPING 1
-#define QCSS_NOT_STOPPED 2
-#define QCSS_HARDWARE_ERROR -1
-#define QCSS_HARDWARE_BUSY -2
-
static inline long poll_pending(void)
{
return plpar_hcall_norets(H_POLL_PENDING);