fiq_debugger: use __handle_sysrq instead of handle_sysrq
authorHuibin Hong <huibin.hong@rock-chips.com>
Tue, 2 May 2017 02:46:41 +0000 (10:46 +0800)
committerHuibin Hong <huibin.hong@rock-chips.com>
Tue, 2 May 2017 02:46:41 +0000 (10:46 +0800)
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>
drivers/staging/android/fiq_debugger/fiq_debugger.c

index 7eb678b6b3ebbb48ad3e80cee1e25eeb2efdc6fe..7615f2130ecd803c38b7309047a0e9cf3f12b58f 100644 (file)
@@ -373,7 +373,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);
 }