mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 05:12:49 +00:00
x86/smp: Export symbol cpu_clustergroup_mask()
Intel cstate PMU driver will invoke the topology_cluster_cpumask() to retrieve the CPU mask of a cluster. A modpost error is triggered since the symbol cpu_clustergroup_mask is not exported. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20231116142245.1233485-2-kan.liang@linux.intel.com
This commit is contained in:
parent
243218ca93
commit
c3dd199562
1 changed files with 1 additions and 0 deletions
|
@ -757,6 +757,7 @@ const struct cpumask *cpu_clustergroup_mask(int cpu)
|
|||
{
|
||||
return cpu_l2c_shared_mask(cpu);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(cpu_clustergroup_mask);
|
||||
|
||||
static void impress_friends(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue