x86 / cpu topology: remove the stale macro arch_provides_topology_pointers
Macro arch_provides_topology_pointers is pointless now, remove it. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
29f1953d51
commit
76f411fb3a
|
@ -124,9 +124,6 @@ extern const struct cpumask *cpu_coregroup_mask(int cpu);
|
||||||
#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_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))
|
||||||
|
|
||||||
/* indicates that pointers to the topology cpumask_t maps are valid */
|
|
||||||
#define arch_provides_topology_pointers yes
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline void arch_fix_phys_package_id(int num, u32 slot)
|
static inline void arch_fix_phys_package_id(int num, u32 slot)
|
||||||
|
|
Loading…
Reference in New Issue