Skip to contentSkip to conversation

serial: mfd: Add sysrq support

PATCH New Feng Tang 1 participant 1 message Jun 14, 2013 TTY layer and serial drivers

lore
Share & tools
lore

Feng Tang

author
#0 lore raw

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.

---
 drivers/tty/serial/mfd.c |    4 ++++
 1 file changed, 4 insertions(+)
drivers/tty/serial/mfd.c +4 -0
index 5f4765a..e266eca 100644
@@ -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