Commit 449b0db0 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix zs sysrq

parent 98abe783
...@@ -443,7 +443,7 @@ static _INLINE_ void receive_chars(struct dec_serial *info, ...@@ -443,7 +443,7 @@ static _INLINE_ void receive_chars(struct dec_serial *info,
if (break_pressed && info->line == sercons.index) { if (break_pressed && info->line == sercons.index) {
if (ch != 0 && if (ch != 0 &&
time_before(jiffies, break_pressed + HZ*5)) { time_before(jiffies, break_pressed + HZ*5)) {
handle_sysrq(ch, regs, NULL, NULL); handle_sysrq(ch, regs, NULL);
break_pressed = 0; break_pressed = 0;
goto ignore_char; goto ignore_char;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment