linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* <20140929014129.GA8687@kroah.com>
       [not found] <Re: [PATCH] serial: mxs-auart: add sysrq support>
@ 2014-09-29 13:59 ` Janusz Uzycki
  2014-09-29 13:59   ` [PATCH RESEND] serial: mxs-auart: add sysrq support Janusz Uzycki
  0 siblings, 1 reply; 2+ messages in thread
From: Janusz Uzycki @ 2014-09-29 13:59 UTC (permalink / raw)
  To: linux-arm-kernel

> So I'm deleting all of these now, please resend the latest
> versions you have, with properly versioning
> and order information.

Sure. If you don't want to comment dirty patches
I will not send you them.
I can send you only the final version, commented before.

On the moment this patch is ready to apply.

[PATCH RESEND] serial: mxs-auart: add sysrq support
The patch is resent to apply.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH RESEND] serial: mxs-auart: add sysrq support
  2014-09-29 13:59 ` <20140929014129.GA8687@kroah.com> Janusz Uzycki
@ 2014-09-29 13:59   ` Janusz Uzycki
  0 siblings, 0 replies; 2+ messages in thread
From: Janusz Uzycki @ 2014-09-29 13:59 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 drivers/tty/serial/mxs-auart.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c
index 9381732..4c998a3 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>
-- 
1.7.11.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-29 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Re: [PATCH] serial: mxs-auart: add sysrq support>
2014-09-29 13:59 ` <20140929014129.GA8687@kroah.com> Janusz Uzycki
2014-09-29 13:59   ` [PATCH RESEND] serial: mxs-auart: add sysrq support Janusz Uzycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).