summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/smp.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-19 19:44:49 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 07:53:24 +0200
commitfb82b83970a32263698e54a8779d2ce88cd3b060 (patch)
tree3f396a3225fa7eae960d9033926b00e751327577 /arch/powerpc/include/asm/smp.h
parentpowerpc/udbg: Fix Kconfig entry for avoiding 44x early debug with KVM (diff)
downloadlinux-fb82b83970a32263698e54a8779d2ce88cd3b060.tar.xz
linux-fb82b83970a32263698e54a8779d2ce88cd3b060.zip
powerpc/smp: More generic support for "soft hotplug"
This adds more generic support for doing CPU hotplug with a simple idle loop and no actual reset of the processors. The generic smp_generic_kick_cpu() does the hotplug bringup trick if the PACA shows that the CPU has already been started at boot and we provide an accessor for the CPU state. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/smp.h')
-rw-r--r--arch/powerpc/include/asm/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h
index 15a70b7f638b..adba970ce918 100644
--- a/arch/powerpc/include/asm/smp.h
+++ b/arch/powerpc/include/asm/smp.h
@@ -65,6 +65,7 @@ int generic_cpu_disable(void);
void generic_cpu_die(unsigned int cpu);
void generic_mach_cpu_die(void);
void generic_set_cpu_dead(unsigned int cpu);
+int generic_check_cpu_restart(unsigned int cpu);
#endif
#ifdef CONFIG_PPC64