summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/topology.h')
-rw-r--r--kernel/include/linux/topology.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/include/linux/topology.h b/kernel/include/linux/topology.h
index 909b6e43b..73ddad1e0 100644
--- a/kernel/include/linux/topology.h
+++ b/kernel/include/linux/topology.h
@@ -191,8 +191,8 @@ static inline int cpu_to_mem(int cpu)
#ifndef topology_core_id
#define topology_core_id(cpu) ((void)(cpu), 0)
#endif
-#ifndef topology_thread_cpumask
-#define topology_thread_cpumask(cpu) cpumask_of(cpu)
+#ifndef topology_sibling_cpumask
+#define topology_sibling_cpumask(cpu) cpumask_of(cpu)
#endif
#ifndef topology_core_cpumask
#define topology_core_cpumask(cpu) cpumask_of(cpu)
@@ -201,7 +201,7 @@ static inline int cpu_to_mem(int cpu)
#ifdef CONFIG_SCHED_SMT
static inline const struct cpumask *cpu_smt_mask(int cpu)
{
- return topology_thread_cpumask(cpu);
+ return topology_sibling_cpumask(cpu);
}
#endif