commit | ae5cab476342bc7311945cf89d5cbd8d57f4a5a9 | [log] [tgz] |
---|---|---|
author | Zhao Chenhui <chenhui.zhao@freescale.com> | Fri Jul 20 20:42:34 2012 +0800 |
committer | Kumar Gala <galak@kernel.crashing.org> | Wed Sep 12 14:57:08 2012 -0500 |
tree | ac19bdca1a55fd3a78d1546f3f94bb83ea641802 | |
parent | 15f34eb12340b2c2e0cd90c5987ad6b5f73b79b7 [diff] |
powerpc/smp: add generic_set_cpu_up() to set cpu_state as CPU_UP_PREPARE 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> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>