From bd190146393d6e05b0ffa2e62b2dd9b4f40c6972 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Tue, 7 Jul 2015 16:38:46 +0100 Subject: serial: Hack to prevent SysRq timeouts on the simulator Signed-off-by: Daniel Thompson --- include/linux/serial_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index ffd1719b9969..fa9a5582fa82 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -501,7 +501,7 @@ static inline int uart_handle_sysrq_char(struct uart_port *port, unsigned int ch) { if (port->sysrq) { - if (ch && time_before(jiffies, port->sysrq)) { + if (ch /*&& time_before(jiffies, port->sysrq)*/) { handle_sysrq(ch); port->sysrq = 0; return 1; -- cgit v1.2.3