The following commit has been merged into the perf/core branch of tip: Commit-ID: c3dd1995620cdcd65cf4944c4164b0dbc16e557c Gitweb: https://git.kernel.org/tip/c3dd1995620cdcd65cf4944c4164b0dbc16e557c Author: Kan Liang <kan.liang@xxxxxxxxxxxxxxx> AuthorDate: Thu, 16 Nov 2023 06:22:43 -08:00 Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx> CommitterDate: Fri, 17 Nov 2023 10:54:52 +01: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@xxxxxxxxxxxxxxx> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Link: https://lore.kernel.org/r/20231116142245.1233485-2-kan.liang@xxxxxxxxxxxxxxx --- arch/x86/kernel/smpboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 2cc2aa1..3f57ce6 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -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) {