diff options
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r-- | include/linux/serial_core.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index b661c19f3f7..463ab953b09 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -409,13 +409,12 @@ int uart_resume_port(struct uart_driver *reg, struct uart_port *port); | |||
409 | * The following are helper functions for the low level drivers. | 409 | * The following are helper functions for the low level drivers. |
410 | */ | 410 | */ |
411 | static inline int | 411 | static inline int |
412 | uart_handle_sysrq_char(struct uart_port *port, unsigned int ch, | 412 | uart_handle_sysrq_char(struct uart_port *port, unsigned int ch) |
413 | struct pt_regs *regs) | ||
414 | { | 413 | { |
415 | #ifdef SUPPORT_SYSRQ | 414 | #ifdef SUPPORT_SYSRQ |
416 | if (port->sysrq) { | 415 | if (port->sysrq) { |
417 | if (ch && time_before(jiffies, port->sysrq)) { | 416 | if (ch && time_before(jiffies, port->sysrq)) { |
418 | handle_sysrq(ch, regs, port->info->tty); | 417 | handle_sysrq(ch, port->info->tty); |
419 | port->sysrq = 0; | 418 | port->sysrq = 0; |
420 | return 1; | 419 | return 1; |
421 | } | 420 | } |
@@ -425,7 +424,7 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch, | |||
425 | return 0; | 424 | return 0; |
426 | } | 425 | } |
427 | #ifndef SUPPORT_SYSRQ | 426 | #ifndef SUPPORT_SYSRQ |
428 | #define uart_handle_sysrq_char(port,ch,regs) uart_handle_sysrq_char(port, 0, NULL) | 427 | #define uart_handle_sysrq_char(port,ch) uart_handle_sysrq_char(port, 0) |
429 | #endif | 428 | #endif |
430 | 429 | ||
431 | /* | 430 | /* |