summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2016-08-25 11:06:37 +0530
committerJohn Stultz <john.stultz@linaro.org>2016-09-09 10:10:55 -0700
commit1c81f45725d2cee3c11e1d213eb30cc7f8feea0a (patch)
tree94655f29ad1f2ea98ebb533a55033013ea91254e /kernel
parent341e02d8bbeeda14cfc946ffbcb492dc9823487b (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"