projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf32d52
)
serial: mfd: Add sysrq support
author
Feng Tang
<feng.tang@intel.com>
Fri, 14 Jun 2013 10:11:17 +0000
(18:11 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 19:49:43 +0000
(12:49 -0700)
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>
drivers/tty/serial/mfd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/serial/mfd.c
b/drivers/tty/serial/mfd.c
index 5f4765a7a5c54d6d3b845c9e9f7df402978afbff..e266eca0ec7642d26dfeae72d70d0170b7308fc0 100644
(file)
--- a/
drivers/tty/serial/mfd.c
+++ b/
drivers/tty/serial/mfd.c
@@
-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>