From: Shawn Guo Date: Mon, 14 Jan 2013 06:08:50 +0000 (+0800) Subject: ARM: imx: disable cpu in .cpu_kill hook X-Git-Tag: fixes-for-linus2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=837576642167d701f983e4def0d3936b514a28ae;p=pandora-kernel.git ARM: imx: disable cpu in .cpu_kill hook It's buggy to disable the cpu that is being hot-unplugged in .cpu_die hook which runs on the cpu itself. Instead, it should be done in .cpu_kill which runs on the thread (another cpu) that asks for shutting down the cpu. Move imx_enable_cpu(cpu, false) call into .cpu_kill hook, and leave the cpu to be hot-unplugged in WFI within .cpu_die, so that we can get a more stable cpu hot-plug operation. Signed-off-by: Shawn Guo --- Reading git-diff-tree failed