linux/debian/patches-debian/tty-locking-fixes9.patch

13 lines
445 B
Diff

--- kernel-source-2.6.11-2.6.11-orig/drivers/serial/serial_core.c 2005-03-02 08:37:50.000000000 +0100
+++ kernel-source-2.6.11-2.6.11/drivers/serial/serial_core.c 2005-03-05 10:46:43.417109240 +0100
@@ -108,7 +108,8 @@
static void uart_tasklet_action(unsigned long data)
{
struct uart_state *state = (struct uart_state *)data;
- tty_wakeup(state->info->tty);
+ if (state->info->tty)
+ tty_wakeup(state->info->tty);
}
static inline void