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>2017-03-30 19:29:01 +0100
commit1b031cc733de73d394e31f8ae156a66bfaf8e5c7 (patch)
tree107ca3be7bc1cb1151a7c043967f8097744622f4
parent867922bd007f3cd49d73d4ff8c28cd87dd14b7e6 (diff)
downloadlinux-1b031cc733de73d394e31f8ae156a66bfaf8e5c7.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 9662bf130cc3..b764b0141f95 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -525,7 +525,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;