diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/system.h | 2 | ||||
-rw-r--r-- | include/linux/serial_core.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 1030562d6e..a944eda4fa 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h | |||
@@ -209,8 +209,6 @@ extern void *set_except_vector(int n, void *addr); | |||
209 | extern unsigned long ebase; | 209 | extern unsigned long ebase; |
210 | extern void per_cpu_trap_init(void); | 210 | extern void per_cpu_trap_init(void); |
211 | 211 | ||
212 | extern int stop_a_enabled; | ||
213 | |||
214 | /* | 212 | /* |
215 | * See include/asm-ia64/system.h; prevents deadlock on SMP | 213 | * See include/asm-ia64/system.h; prevents deadlock on SMP |
216 | * systems. | 214 | * systems. |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 6a5203fb9c..9963f81fea 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -437,7 +437,7 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch) | |||
437 | #ifdef SUPPORT_SYSRQ | 437 | #ifdef SUPPORT_SYSRQ |
438 | if (port->sysrq) { | 438 | if (port->sysrq) { |
439 | if (ch && time_before(jiffies, port->sysrq)) { | 439 | if (ch && time_before(jiffies, port->sysrq)) { |
440 | handle_sysrq(ch, port->info->tty); | 440 | handle_sysrq(ch, port->info ? port->info->tty : NULL); |
441 | port->sysrq = 0; | 441 | port->sysrq = 0; |
442 | return 1; | 442 | return 1; |
443 | } | 443 | } |