ARM: fiq_debugger: add process context reboot command
authorColin Cross <ccross@android.com>
Fri, 20 Jul 2012 01:40:04 +0000 (18:40 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:22 +0000 (13:52 -0800)
commit05c369015c46c8c3fbabffd0e15ec4a28a18212d
treebd806c1447f106fffe61ee8b2f4b64b624ea1632
parent30f1c58cc5f8184725d20a964d0886e098d3b586
ARM: fiq_debugger: add process context reboot command

kernel_restart cannot be called from interrupt context.  Add support for
commands called from a work function, and implement the "reboot" command
there.  Also rename the existing irq-mode command to "reset" and change
it to use machine_restart instead of kernel_restart.

Change-Id: I3c423147c01db03d89e95a5b99096ca89462079f
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/common/fiq_debugger.c