projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
259bd4c
)
arm: Enable frequency invariant scheduler load-tracking support
author
Dietmar Eggemann
<dietmar.eggemann@arm.com>
Wed, 23 Sep 2015 11:47:48 +0000
(12:47 +0100)
committer
Leo Yan
<leo.yan@linaro.org>
Tue, 10 May 2016 08:49:48 +0000
(16:49 +0800)
Defines arch_scale_freq_capacity() to use cpufreq implementation.
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
arch/arm/include/asm/topology.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/include/asm/topology.h
b/arch/arm/include/asm/topology.h
index 370f7a732900ae12e8831e6f3ce7390d16455fc8..a69917b7d2c94115ac68ea8fa9550390ba47a605 100644
(file)
--- a/
arch/arm/include/asm/topology.h
+++ b/
arch/arm/include/asm/topology.h
@@
-24,6
+24,11
@@
void init_cpu_topology(void);
void store_cpu_topology(unsigned int cpuid);
const struct cpumask *cpu_coregroup_mask(int cpu);
+#ifdef CONFIG_CPU_FREQ
+#include <linux/cpufreq.h>
+#define arch_scale_freq_capacity cpufreq_scale_freq_capacity
+#endif
+
#else
static inline void init_cpu_topology(void) { }