diff options
Diffstat (limited to 'arch/um/drivers/line.c')
-rw-r--r-- | arch/um/drivers/line.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index cf8a97f34518..7a656bd8bd3c 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include "linux/irqreturn.h" | 6 | #include "linux/irqreturn.h" |
7 | #include "linux/kd.h" | 7 | #include "linux/kd.h" |
8 | #include "linux/sched.h" | 8 | #include "linux/sched.h" |
9 | #include "linux/slab.h" | ||
9 | #include "chan_kern.h" | 10 | #include "chan_kern.h" |
10 | #include "irq_kern.h" | 11 | #include "irq_kern.h" |
11 | #include "irq_user.h" | 12 | #include "irq_user.h" |
@@ -18,10 +19,10 @@ static irqreturn_t line_interrupt(int irq, void *data) | |||
18 | { | 19 | { |
19 | struct chan *chan = data; | 20 | struct chan *chan = data; |
20 | struct line *line = chan->line; | 21 | struct line *line = chan->line; |
21 | struct tty_struct *tty = line->tty; | 22 | struct tty_struct *tty; |
22 | 23 | ||
23 | if (line) | 24 | if (line) |
24 | chan_interrupt(&line->chan_list, &line->task, tty, irq); | 25 | chan_interrupt(&line->chan_list, &line->task, line->tty, irq); |
25 | return IRQ_HANDLED; | 26 | return IRQ_HANDLED; |
26 | } | 27 | } |
27 | 28 | ||