summaryrefslogtreecommitdiffstats
path: root/kernel/lib/cpu_rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib/cpu_rmap.c')
-rw-r--r--kernel/lib/cpu_rmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/lib/cpu_rmap.c b/kernel/lib/cpu_rmap.c
index 4f134d890..f610b2a10 100644
--- a/kernel/lib/cpu_rmap.c
+++ b/kernel/lib/cpu_rmap.c
@@ -191,7 +191,7 @@ int cpu_rmap_update(struct cpu_rmap *rmap, u16 index,
/* Update distances based on topology */
for_each_cpu(cpu, update_mask) {
if (cpu_rmap_copy_neigh(rmap, cpu,
- topology_thread_cpumask(cpu), 1))
+ topology_sibling_cpumask(cpu), 1))
continue;
if (cpu_rmap_copy_neigh(rmap, cpu,
topology_core_cpumask(cpu), 2))