Skip to content

Commit c3dd199

Browse files
Kan LiangPeter Zijlstra
authored andcommitted
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 243218c commit c3dd199

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kernel/smpboot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ const struct cpumask *cpu_clustergroup_mask(int cpu)
757757
{
758758
return cpu_l2c_shared_mask(cpu);
759759
}
760+
EXPORT_SYMBOL_GPL(cpu_clustergroup_mask);
760761

761762
static void impress_friends(void)
762763
{

0 commit comments

Comments
 (0)