aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2015-07-07 16:38:46 +0100
committerDaniel Thompson <daniel.thompson@linaro.org>2015-12-14 16:43:45 +0000
commitbd190146393d6e05b0ffa2e62b2dd9b4f40c6972 (patch)
treeaa006c4407f98699f67ec469c1ec90bb02057cd6
parent77cebb99544a62822485cb25d5b92f2d70492681 (diff)
downloadlinux-bd190146393d6e05b0ffa2e62b2dd9b4f40c6972.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
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;