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>2016-06-20 14:56:56 +0100
commit3cacad1d6176e2f58ef647f002c690a26199bc6d (patch)
treee4b9c30741c5e2511739e5cd7feb062e0198c529
parent65772278eea0ca8e9dd29f82413dd482caaafa98 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 07c6248ea6b4..a4111d505844 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -510,7 +510,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;