diff options
Diffstat (limited to 'include/linux/serial_core.h')
| -rw-r--r-- | include/linux/serial_core.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index de2e68159d96..463ab953b092 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
| @@ -67,8 +67,8 @@ | |||
| 67 | /* Parisc type numbers. */ | 67 | /* Parisc type numbers. */ |
| 68 | #define PORT_MUX 48 | 68 | #define PORT_MUX 48 |
| 69 | 69 | ||
| 70 | /* Atmel AT91xxx SoC */ | 70 | /* Atmel AT91 / AT32 SoC */ |
| 71 | #define PORT_AT91 49 | 71 | #define PORT_ATMEL 49 |
| 72 | 72 | ||
| 73 | /* Macintosh Zilog type numbers */ | 73 | /* Macintosh Zilog type numbers */ |
| 74 | #define PORT_MAC_ZILOG 50 /* m68k : not yet implemented */ | 74 | #define PORT_MAC_ZILOG 50 /* m68k : not yet implemented */ |
| @@ -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 | /* |
