Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: mfd: Add sysrq support

When using MFD HSU based console, sometime we need the sysrq function
to help debugging kernel. The sysrq code is basically there, this
patch just simply enable it.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Feng Tang and committed by
Greg Kroah-Hartman
fcd2bb9b bf32d52c

+4
+4
drivers/tty/serial/mfd.c
··· 21 21 * be triggered 22 22 */ 23 23 24 + #if defined(CONFIG_SERIAL_MFD_HSU_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) 25 + #define SUPPORT_SYSRQ 26 + #endif 27 + 24 28 #include <linux/module.h> 25 29 #include <linux/init.h> 26 30 #include <linux/console.h>