diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2015-07-07 16:38:46 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2016-02-02 20:37:40 +0000 |
commit | 808cd3111a3db669d4b64b607ec9b3916646ce18 (patch) | |
tree | 1c2619d7e560a6ca637a887de20deadb88cf72ff | |
parent | 68ab16080dc13befe7a1c01b14b4fd53dc3ad4a6 (diff) |
serial: Hack to prevent SysRq timeouts on the simulator
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-rw-r--r-- | include/linux/serial_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index ee3e14e6cab6..52ff58b8b61e 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -502,7 +502,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; |