From: Huibin Hong Date: Tue, 2 May 2017 02:46:41 +0000 (+0800) Subject: fiq_debugger: use __handle_sysrq instead of handle_sysrq X-Git-Tag: release-20171130_firefly~4^2~698 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0c49ba335d3ac00256fb8c70310c35482a0f1249;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/drivers/staging/android/fiq_debugger/fiq_debugger.c b/drivers/staging/android/fiq_debugger/fiq_debugger.c index 7eb678b6b3eb..7615f2130ecd 100644 --- a/drivers/staging/android/fiq_debugger/fiq_debugger.c +++ b/drivers/staging/android/fiq_debugger/fiq_debugger.c @@ -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); }