From: Dietmar Eggemann <[email protected]>

This patch provides the arch_sched_domain_info array for the ARM arch.

Signed-off-by: Dietmar Eggemann <[email protected]>
---
 arch/arm/kernel/topology.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index 85a87370f144..0be2685743ff 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -25,6 +25,14 @@
 #include <asm/cputype.h>
 #include <asm/topology.h>
 
+arch_sched_domain_info_t arch_sched_domain_info[] = {
+#ifdef CONFIG_SCHED_MC
+               { cpu_coregroup_mask, SD_SHARE_PKG_RESOURCES },
+#endif
+               { cpu_cpu_mask, SD_PREFER_SIBLING },
+               { NULL, },
+};
+
 /*
  * cpu power scale management
  */
-- 
1.7.9.5


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to