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:37:26 +0100
commitd8b1b85d4338b6d0515d7254e2943215720ef64c (patch)
tree05ad9cab9f090a8bd0856572c646e376abcae90e
parent1972ea0151038a2ae6dcc6aff8f81ac03142e22d (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 9b7e7f01140a..832aff52a8c6 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -507,7 +507,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;