Messages in this thread | | | Subject | Re: [PATCH v8 2/7] powerpc/smp: add generic_set_cpu_up() to set cpu_state as CPU_UP_PREPARE | From | Kumar Gala <> | Date | Tue, 31 Jul 2012 09:24:28 -0500 |
| |
On Jul 20, 2012, at 7:42 AM, Zhao Chenhui wrote:
> In the case of cpu hotplug, the cpu_state should be set to CPU_UP_PREPARE when kicking cpu. > Otherwise, the cpu_state is always CPU_DEAD after calling generic_set_cpu_dead(), which > makes the delay in generic_cpu_die() not happen. > > Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com> > --- > arch/powerpc/include/asm/smp.h | 1 + > arch/powerpc/kernel/smp.c | 12 +++++++++++- > 2 files changed, 12 insertions(+), 1 deletions(-)
applied to next
- k
| |