}
#endif
+static int cluster_flags(void)
+{
+ return cpu_core_flags() | topology_cluster_flags();
+}
+
static int cpu_flags(void)
{
return topology_cpu_flags();
#ifdef CONFIG_SCHED_MC
{ cpu_coregroup_mask, core_flags, cpu_core_energy, SD_INIT_NAME(MC) },
#endif
- { cpu_cluster_mask, SD_INIT_NAME(DSU) },
+ { cpu_cluster_mask, cluster_flags, SD_INIT_NAME(DSU) },
{ cpu_cpu_mask, cpu_flags, cpu_cluster_energy, SD_INIT_NAME(DIE) },
{ cpu_cpu_mask, NULL, cpu_system_energy, SD_INIT_NAME(SYS) },
{ NULL, }