ARM: fiq_debugger: add process context reboot command
authorColin Cross <ccross@android.com>
Fri, 20 Jul 2012 01:40:04 +0000 (18:40 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:53 +0000 (13:40 -0700)
commitf42b72c682a6ee4e02bafad6a7f4f5ac3e5314f6
treedfb3411e89c726e568622d1b19e990b4c7b27f83
parente421b24ba66f380922680a8f3db42245b2202300
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