diff options
Diffstat (limited to 'drivers/char/mmtimer.c')
-rw-r--r-- | drivers/char/mmtimer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index 918711aa56f3..ea7c99fa978f 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/time.h> | 33 | #include <linux/time.h> |
34 | #include <linux/math64.h> | 34 | #include <linux/math64.h> |
35 | #include <linux/smp_lock.h> | 35 | #include <linux/smp_lock.h> |
36 | #include <linux/slab.h> | ||
36 | 37 | ||
37 | #include <asm/uaccess.h> | 38 | #include <asm/uaccess.h> |
38 | #include <asm/sn/addrs.h> | 39 | #include <asm/sn/addrs.h> |
@@ -546,7 +547,7 @@ static void mmtimer_tasklet(unsigned long data) | |||
546 | { | 547 | { |
547 | int nodeid = data; | 548 | int nodeid = data; |
548 | struct mmtimer_node *mn = &timers[nodeid]; | 549 | struct mmtimer_node *mn = &timers[nodeid]; |
549 | struct mmtimer *x = rb_entry(mn->next, struct mmtimer, list); | 550 | struct mmtimer *x; |
550 | struct k_itimer *t; | 551 | struct k_itimer *t; |
551 | unsigned long flags; | 552 | unsigned long flags; |
552 | 553 | ||