Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23c5c9c6 authored by Rusty Russell's avatar Rusty Russell
Browse files

cpumask: remove cpu_coregroup_map: x86



Impact: cleanup

cpu_coregroup_mask is the New Hotness.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent cb3d560f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -244,7 +244,6 @@ static inline int node_to_first_cpu(int node)
}
#endif

extern cpumask_t cpu_coregroup_map(int cpu);
extern const struct cpumask *cpu_coregroup_mask(int cpu);

#ifdef ENABLE_TOPO_DEFINES
+0 −5
Original line number Diff line number Diff line
@@ -428,11 +428,6 @@ const struct cpumask *cpu_coregroup_mask(int cpu)
		return &c->llc_shared_map;
}

cpumask_t cpu_coregroup_map(int cpu)
{
	return *cpu_coregroup_mask(cpu);
}

static void impress_friends(void)
{
	int cpu;