RE: [PATCH v4 1/4] powerpc/85xx: add HOTPLUG_CPU support

2012-04-17 Thread Li Yang-R58472
struct smp_ops_t smp_85xx_ops = { .kick_cpu = smp_85xx_kick_cpu, -#ifdef CONFIG_KEXEC +#ifdef CONFIG_HOTPLUG_CPU + .cpu_disable= generic_cpu_disable, + .cpu_die= generic_cpu_die, +#endif .give_timebase = smp_generic_give_timebase, .take_timebase =

Re: [PATCH v4 1/4] powerpc/85xx: add HOTPLUG_CPU support

2012-04-17 Thread Scott Wood
On 04/17/2012 04:51 AM, Li Yang-R58472 wrote: struct smp_ops_t smp_85xx_ops = { .kick_cpu = smp_85xx_kick_cpu, -#ifdef CONFIG_KEXEC +#ifdef CONFIG_HOTPLUG_CPU + .cpu_disable= generic_cpu_disable, + .cpu_die= generic_cpu_die, +#endif .give_timebase =

Re: [PATCH v4 1/4] powerpc/85xx: add HOTPLUG_CPU support

2012-04-16 Thread Scott Wood
On 03/16/2012 04:22 AM, Zhao Chenhui wrote: diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4eecaaa..3d4c497 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -219,7 +219,8 @@ config ARCH_HIBERNATION_POSSIBLE config ARCH_SUSPEND_POSSIBLE def_bool y