aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2012-10-07 09:43:58 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2012-11-02 15:44:43 +0530
commit6838e919a53b95590a65ff4dad08cd1e95327b1d (patch)
tree64e2e97ae1b4816d9a608cd521f9938509e6731e
parentf0e30c0867050a3a0ef8a6e7f72171b7946a160e (diff)
ARM: sched: clear SD_SHARE_POWERLINE
The ARM platforms take advantage of packing small tasks on few cores. This is true even when the cores of a cluster can't be powergated independantly. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
-rw-r--r--arch/arm/kernel/topology.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index 26c12c6440fc..00511d04bd91 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -226,6 +226,11 @@ static inline void update_cpu_power(unsigned int cpuid, unsigned int mpidr) {}
*/
struct cputopo_arm cpu_topology[NR_CPUS];
+int arch_sd_share_power_line(void)
+{
+ return 0*SD_SHARE_POWERLINE;
+}
+
const struct cpumask *cpu_coregroup_mask(int cpu)
{
return &cpu_topology[cpu].core_sibling;