diff options
author | Janusz Uzycki <j.uzycki@elproma.com.pl> | 2014-10-10 13:13:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-05 18:56:47 -0800 |
commit | 914d3b17e90d9f75f764ffbdbdae354056b9fb79 (patch) | |
tree | 1476a70a42204846f17f0ae8bf8857cd144838e9 /drivers/tty/serial/mxs-auart.c | |
parent | d4ac0633ad28580df12ed050993fa426d60c6429 (diff) | |
download | op-kernel-dev-914d3b17e90d9f75f764ffbdbdae354056b9fb79.zip op-kernel-dev-914d3b17e90d9f75f764ffbdbdae354056b9fb79.tar.gz |
serial: mxs-auart: add sysrq support
When using mxs-auart 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: Janusz Uzycki <j.uzycki@elproma.com.pl>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/mxs-auart.c')
-rw-r--r-- | drivers/tty/serial/mxs-auart.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 10c2933..0296c1c 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -14,6 +14,10 @@ * http://www.gnu.org/copyleft/gpl.html */ +#if defined(CONFIG_SERIAL_MXS_AUART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +#define SUPPORT_SYSRQ +#endif + #include <linux/kernel.h> #include <linux/errno.h> #include <linux/init.h> |