signal: fix __send_signal() false positive kmemcheck warning
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / timer.c
index a26ed294f938708241c41b19b35fff551506a56a..c01e568935ea658a5b243e80bd6791fef99a5994 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/delay.h>
 #include <linux/tick.h>
 #include <linux/kallsyms.h>
+#include <linux/perf_counter.h>
 
 #include <asm/uaccess.h>
 #include <asm/unistd.h>
@@ -1129,6 +1130,8 @@ static void run_timer_softirq(struct softirq_action *h)
 {
        struct tvec_base *base = __get_cpu_var(tvec_bases);
 
+       perf_counter_do_pending();
+
        hrtimer_run_pending();
 
        if (time_after_eq(jiffies, base->timer_jiffies))