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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user