]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7466/1: disable interrupt before spinning endlessly
authorShawn Guo <shawn.guo@linaro.org>
Fri, 13 Jul 2012 07:19:34 +0000 (08:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 15:10:05 +0000 (08:10 -0700)
commit05aa0d1bc94e2809ec0ccb4be20860784e4640b1
treea5793c18831793b3a880167ba8db26564bae9be0
parentce6f0ff8d1031931df7031a88f4085e5f196a854
ARM: 7466/1: disable interrupt before spinning endlessly

commit 98bd8b96b26db3399a48202318dca4aaa2515355 upstream.

The CPU will endlessly spin at the end of machine_halt and
machine_restart calls.  However, this will lead to a soft lockup
warning after about 20 seconds, if CONFIG_LOCKUP_DETECTOR is enabled,
as system timer is still alive.

Disable interrupt before going to spin endlessly, so that the lockup
warning will never be seen.

Reported-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/process.c