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/[email protected] Reported-by: kernel test robot <[email protected]> Fixes: 6b66ca0 ("arch_topology: Make cluster topology span at least SMT CPUs") Cc: Sudeep Holla <[email protected]> Cc: Vincent Guittot <[email protected]> Cc: Ionela Voinescu <[email protected]> Cc: Yicong Yang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6b66ca0 commit c749b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)