Commit 4c796c8c authored by James Simmons's avatar James Simmons

These files missed the handle_sysrq change.

parent 586d2a0d
...@@ -433,7 +433,7 @@ static _INLINE_ void receive_chars(struct async_struct *info, ...@@ -433,7 +433,7 @@ static _INLINE_ void receive_chars(struct async_struct *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;
} }
......
...@@ -462,7 +462,7 @@ siccuart_rx_chars(struct SICC_info *info) ...@@ -462,7 +462,7 @@ siccuart_rx_chars(struct SICC_info *info)
#ifdef SUPPORT_SYSRQ #ifdef SUPPORT_SYSRQ
if (info->sysrq) { if (info->sysrq) {
if (ch && time_before(jiffies, info->sysrq)) { if (ch && time_before(jiffies, info->sysrq)) {
handle_sysrq(ch, regs, NULL, NULL); handle_sysrq(ch, regs, NULL);
info->sysrq = 0; info->sysrq = 0;
goto ignore_char; goto ignore_char;
} }
......
...@@ -481,7 +481,7 @@ static _INLINE_ void receive_chars(ser_info_t *info, struct pt_regs *regs) ...@@ -481,7 +481,7 @@ static _INLINE_ void receive_chars(ser_info_t *info, struct pt_regs *regs)
if (break_pressed && info->line == sercons.index) { if (break_pressed && info->line == sercons.index) {
if (ch != 0 && time_before(jiffies, if (ch != 0 && time_before(jiffies,
break_pressed + HZ*5)) { 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;
} else } else
......
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