[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <170049093932.398.7671603015835084715.tip-bot2@tip-bot2>
Date: Mon, 20 Nov 2023 14:35:39 -0000
From: "tip-bot2 for Kan Liang" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Kan Liang <kan.liang@...ux.intel.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: perf/core] x86/smp: Export symbol cpu_clustergroup_mask()
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@...ux.intel.com>
AuthorDate: Thu, 16 Nov 2023 06:22:43 -08:00
Committer: Peter Zijlstra <peterz@...radead.org>
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@...ux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lore.kernel.org/r/20231116142245.1233485-2-kan.liang@linux.intel.com
---
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)
{
Powered by blists - more mailing lists