Skip to content

Commit

Permalink
serial: mxs-auart: add sysrq support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Janusz Uzycki authored and Greg Kroah-Hartman committed Nov 6, 2014
1 parent d4ac063 commit 914d3b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/tty/serial/mxs-auart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 914d3b1

Please sign in to comment.