]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx: do not return from imx_cpu_die() call
authorShawn Guo <shawn.guo@linaro.org>
Wed, 9 Oct 2013 07:29:14 +0000 (15:29 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 21 Oct 2013 01:37:31 +0000 (09:37 +0800)
commitfcd75f921dfa21a745869090c512ce4c6f2f0477
tree82840decbad3aa699c7e33d3c38ac13c02f11c27
parent85920f3960fbc9e8f63b61ac13cb4d3d44c56a17
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: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/hotplug.c