serial: core: Print escaped SysRq Magic sequence if enabled
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Mar 2020 17:43:35 +0000 (19:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 16:16:41 +0000 (17:16 +0100)
commitb18896ff3a92fe320ad5262009f0b90e04b8a203
treedcd5f5627dfd98ccbca128109526c31ddca5a346
parent2ce5eace42b859cabef898877b38a0429f931370
serial: core: Print escaped SysRq Magic sequence if enabled

It is useful to see on the serial console the magic sequence itself
to enable SysRq without rummaging source code.

Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200310174337.74109-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c