+ magic-sysrq-sak-does-nothing-on-serial-consoles.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Magic SysRq SAK does nothing on serial consoles

has been added to the -mm tree.  Its filename is

     magic-sysrq-sak-does-nothing-on-serial-consoles.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Magic SysRq SAK does nothing on serial consoles
From: Simon Tatham <anakin@xxxxxxxxx>

Make sysrq-K work on serial console by passing in the tty.

Cc: Russell King <rmk@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/serial_core.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/serial_core.h~magic-sysrq-sak-does-nothing-on-serial-consoles include/linux/serial_core.h
--- a/include/linux/serial_core.h~magic-sysrq-sak-does-nothing-on-serial-consoles
+++ a/include/linux/serial_core.h
@@ -414,7 +414,7 @@ uart_handle_sysrq_char(struct uart_port 
 #ifdef SUPPORT_SYSRQ
 	if (port->sysrq) {
 		if (ch && time_before(jiffies, port->sysrq)) {
-			handle_sysrq(ch, regs, NULL);
+			handle_sysrq(ch, regs, port->info->tty);
 			port->sysrq = 0;
 			return 1;
 		}
_

Patches currently in -mm which might be from anakin@xxxxxxxxx are

magic-sysrq-sak-does-nothing-on-serial-consoles.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux