Skip to content

Commit c749b27

Browse files
committed
Revert "arch_topology: Make cluster topology span at least SMT CPUs"
This reverts commit 6b66ca0 as it breaks the build on some arches as reported by the kernel test robot. Link: https://lore.kernel.org/r/202209030824.SouwDV5M-lkp@intel.com Reported-by: kernel test robot <lkp@intel.com> Fixes: 6b66ca0 ("arch_topology: Make cluster topology span at least SMT CPUs") Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Vincent Guittot <vincent.guittot@linaro.org> Cc: Ionela Voinescu <ionela.voinescu@arm.com> Cc: Yicong Yang <yangyicong@hisilicon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6b66ca0 commit c749b27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/base/arch_topology.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ const struct cpumask *cpu_clustergroup_mask(int cpu)
724724
*/
725725
if (cpumask_subset(cpu_coregroup_mask(cpu),
726726
&cpu_topology[cpu].cluster_sibling))
727-
return cpu_smt_mask(cpu);
727+
return get_cpu_mask(cpu);
728728

729729
return &cpu_topology[cpu].cluster_sibling;
730730
}

0 commit comments

Comments
 (0)