serial: mfd: Add sysrq support
PATCH 1/1 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 <[email protected]>
--- drivers/tty/serial/mfd.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/tty/serial/mfd.c +4 -0
@@ -21,6 +21,10 @@* be triggered */ +#if defined(CONFIG_SERIAL_MFD_HSU_CONSOLE ) && defined(CONFIG_MAGIC_SYSRQ ) +#define SUPPORT_SYSRQ +#endif +#include <linux/module.h> #include <linux/init.h> #include <linux/console.h>
Signature · 1 line
1.7.9.5