Commit fcd75f92 authored by Shawn Guo's avatar Shawn Guo

ARM: imx: do not return from imx_cpu_die() call

When imx_cpu_die() is being called, the cpu should never return from the
call but just in WFI and wait for hardware to take it down.  So let's
do cpu_do_idle() repeatly in the call.  Doing this help improve the
relibility of hotplug operation.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 85920f39
......@@ -52,6 +52,8 @@ void imx_cpu_die(unsigned int cpu)
* the register being cleared to kill the cpu.
*/
imx_set_cpu_arg(cpu, ~0);
while (1)
cpu_do_idle();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment