projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b8ca11
)
rk: fiq_debugger: support reboot with command
author
黄涛
<huangtao@rock-chips.com>
Sun, 27 May 2012 10:44:46 +0000
(18:44 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sun, 27 May 2012 10:45:06 +0000
(18:45 +0800)
arch/arm/common/fiq_debugger.c
patch
|
blob
|
history
diff --git
a/arch/arm/common/fiq_debugger.c
b/arch/arm/common/fiq_debugger.c
index d0a8aa8a32160c88f5c56bd8e21bf221603e991b..c95af41324a9892a03407048bafd329ac7aebf0e 100644
(file)
--- a/
arch/arm/common/fiq_debugger.c
+++ b/
arch/arm/common/fiq_debugger.c
@@
-658,6
+658,8
@@
static bool debug_fiq_exec(struct fiq_debugger_state *state,
dump_stacktrace(state, (struct pt_regs *)regs, 100, svc_sp);
} else if (!strcmp(cmd, "reboot")) {
arch_reset(0, 0);
+ } else if (!strncmp(cmd, "reboot ", 7)) {
+ arch_reset(0, &cmd[7]);
} else if (!strcmp(cmd, "irqs")) {
dump_irqs(state);
} else if (!strcmp(cmd, "kmsg")) {