aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-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 f9fdf97506e..de2e68159d9 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -415,7 +415,7 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
415#ifdef SUPPORT_SYSRQ 415#ifdef SUPPORT_SYSRQ
416 if (port->sysrq) { 416 if (port->sysrq) {
417 if (ch && time_before(jiffies, port->sysrq)) { 417 if (ch && time_before(jiffies, port->sysrq)) {
418 handle_sysrq(ch, regs, NULL); 418 handle_sysrq(ch, regs, port->info->tty);
419 port->sysrq = 0; 419 port->sysrq = 0;
420 return 1; 420 return 1;
421 } 421 }