diff options
Diffstat (limited to 'kernel/timer.c')
-rw-r--r-- | kernel/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index 49773f38c9bc..9199f3c52215 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <linux/kallsyms.h> | 39 | #include <linux/kallsyms.h> |
40 | #include <linux/perf_event.h> | 40 | #include <linux/perf_event.h> |
41 | #include <linux/sched.h> | 41 | #include <linux/sched.h> |
42 | #include <linux/slab.h> | ||
42 | 43 | ||
43 | #include <asm/uaccess.h> | 44 | #include <asm/uaccess.h> |
44 | #include <asm/unistd.h> | 45 | #include <asm/unistd.h> |
@@ -936,6 +937,7 @@ int try_to_del_timer_sync(struct timer_list *timer) | |||
936 | if (base->running_timer == timer) | 937 | if (base->running_timer == timer) |
937 | goto out; | 938 | goto out; |
938 | 939 | ||
940 | timer_stats_timer_clear_start_info(timer); | ||
939 | ret = 0; | 941 | ret = 0; |
940 | if (timer_pending(timer)) { | 942 | if (timer_pending(timer)) { |
941 | detach_timer(timer, 1); | 943 | detach_timer(timer, 1); |