ARM: restart: move reboot failure handing into machine_restart()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 31 Oct 2011 09:22:22 +0000 (09:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 Nov 2011 22:30:20 +0000 (22:30 +0000)
commitac15e00b1efe705b66a36d1a6a9db7f6ed524c43
tree203b398bbb6740f735d2a293149823a2a223740b
parent34adeda943e1fb10e8de022b834996e04241fa7d
ARM: restart: move reboot failure handing into machine_restart()

Move the failure to reboot into machine_restart() to always catch
this condition, even if a platform decides to hook the restarting
via arm_pm_restart().

Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/process.c