From: Zhao Chenhui Date: Fri, 20 Jul 2012 12:42:34 +0000 (+0800) Subject: powerpc/smp: add generic_set_cpu_up() to set cpu_state as CPU_UP_PREPARE X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~10^2~10^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5cab476342bc7311945cf89d5cbd8d57f4a5a9;p=pandora-kernel.git 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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed