mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
sysrq,kdb: Use __handle_sysrq() for kdb's sysrq function
The kdb code should not toggle the sysrq state in case an end user wants to try and resume the normal kernel execution. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
b0679c63db
commit
edd63cb6b9
3 changed files with 3 additions and 3 deletions
|
|
@ -1820,9 +1820,8 @@ static int kdb_sr(int argc, const char **argv)
|
|||
{
|
||||
if (argc != 1)
|
||||
return KDB_ARGCOUNT;
|
||||
sysrq_toggle_support(1);
|
||||
kdb_trap_printk++;
|
||||
handle_sysrq(*argv[1], NULL);
|
||||
__handle_sysrq(*argv[1], NULL, 0);
|
||||
kdb_trap_printk--;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue