Skip to contentSkip to conversation

OMAP: Enable Sysrq on serial console

PATCH Superseded Thomas Weber 1 participant 1 message Jan 12, 2011

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP: Enable Sysrq on serial console

SUPPORT_SYSRQ must be defined to enable handling of sysrq character.

---
 drivers/serial/omap-serial.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/serial/omap-serial.c +4 -0
index 1201eff..907be9b 100644
@@ -20,6 +20,10 @@
  * this driver as required for the omap-platform.
  */
 
+#if defined(CONFIG_SERIAL_OMAP_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.4.rc1