cpumask: remove cpu_coregroup_map: x86
Impact: cleanup cpu_coregroup_mask is the New Hotness. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -244,7 +244,6 @@ static inline int node_to_first_cpu(int node)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern cpumask_t cpu_coregroup_map(int cpu);
|
|
||||||
extern const struct cpumask *cpu_coregroup_mask(int cpu);
|
extern const struct cpumask *cpu_coregroup_mask(int cpu);
|
||||||
|
|
||||||
#ifdef ENABLE_TOPO_DEFINES
|
#ifdef ENABLE_TOPO_DEFINES
|
||||||
|
@@ -428,11 +428,6 @@ const struct cpumask *cpu_coregroup_mask(int cpu)
|
|||||||
return &c->llc_shared_map;
|
return &c->llc_shared_map;
|
||||||
}
|
}
|
||||||
|
|
||||||
cpumask_t cpu_coregroup_map(int cpu)
|
|
||||||
{
|
|
||||||
return *cpu_coregroup_mask(cpu);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void impress_friends(void)
|
static void impress_friends(void)
|
||||||
{
|
{
|
||||||
int cpu;
|
int cpu;
|
||||||
|
Reference in New Issue
Block a user