summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2016-08-25 11:06:37 +0530
committerAmit Pundir <amit.pundir@linaro.org>2016-09-14 15:16:19 +0530
commit884090a34a90609f11f1d5b926e347718ca72aa2 (patch)
tree8c493196f8fa3b52e7a2e5e1c857b5d876d207a3 /kernel
parent2bf81a5752c429dd3289bf09085f6d40fa41bae6 (diff)
sched/walt: include missing header for arm_timer_read_counter()
Include clocksource/arm_arch_timer.h to fix implicit function declaration of ‘arch_timer_read_counter’ build error for ARCH=arm. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> [jstultz: Cherry-picked from common/android-3.18] Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/walt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/walt.c b/kernel/sched/walt.c
index d9d09914ce30..07b7f84b37e2 100644
--- a/kernel/sched/walt.c
+++ b/kernel/sched/walt.c
@@ -22,6 +22,7 @@
#include <linux/syscore_ops.h>
#include <linux/cpufreq.h>
#include <trace/events/sched.h>
+#include <clocksource/arm_arch_timer.h>
#include "sched.h"
#include "walt.h"