|
@@ -249,8 +249,6 @@ extern const struct cpumask *cpu_coregroup_mask(int cpu);
|
|
#ifdef ENABLE_TOPO_DEFINES
|
|
#ifdef ENABLE_TOPO_DEFINES
|
|
#define topology_physical_package_id(cpu) (cpu_data(cpu).phys_proc_id)
|
|
#define topology_physical_package_id(cpu) (cpu_data(cpu).phys_proc_id)
|
|
#define topology_core_id(cpu) (cpu_data(cpu).cpu_core_id)
|
|
#define topology_core_id(cpu) (cpu_data(cpu).cpu_core_id)
|
|
-#define topology_core_siblings(cpu) (per_cpu(cpu_core_map, cpu))
|
|
|
|
-#define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu))
|
|
|
|
#define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu))
|
|
#define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu))
|
|
#define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu))
|
|
#define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu))
|
|
|
|
|