diff options
author | Feng Tang <feng.tang@intel.com> | 2013-06-14 10:11:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 19:49:43 (GMT) |
commit | fcd2bb9b5d64d115b4433ddff9fb3289dd9597a2 (patch) | |
tree | 7f787e7d9cd03360eab7dc4d63bad597adf79623 /drivers | |
parent | bf32d52c455d933cc9a459bb94af9ea8b5850af9 (diff) | |
download | linux-fsl-qoriq-fcd2bb9b5d64d115b4433ddff9fb3289dd9597a2.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/serial/mfd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tty/serial/mfd.c b/drivers/tty/serial/mfd.c index 5f4765a..e266eca 100644 --- 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> |