fiq_debugger: use __handle_sysrq instead of handle_sysrq

Because init.rc does the following operation, handle_sysrq
will do nothing. If we want to use sysrq, __handle_sysrq
can work.
write /proc/sys/kernel/sysrq 0

Change-Id: Ia51debd92f393326f183736e405e25dc4d6a2abc
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
This commit is contained in:
Huibin Hong 2017-05-02 10:46:41 +08:00 committed by Tao Huang
parent e3d8bd2325
commit da3351f894

View File

@ -372,7 +372,7 @@ static void fiq_debugger_do_sysrq(struct fiq_debugger_state *state, char rq)
return;
}
fiq_debugger_begin_syslog_dump(state);
handle_sysrq(rq);
__handle_sysrq(rq, false);
fiq_debugger_end_syslog_dump(state);
}