From 81d0336fb21eb28a2a95331b47d2918ae1f01b6f Mon Sep 17 00:00:00 2001 From: Pavankumar Kondeti Date: Thu, 17 Dec 2020 14:17:25 +0530 Subject: [PATCH] ANDROID: arch_topology: Export thermal pressure symbol Export the per-cpu thermal_pressure symbol so that vendor module can use arch_scale_thermal_pressure() API. Bug: 175847109 Change-Id: I33a6994ac62cab883b788a5b4d57ac7a6b736971 Signed-off-by: Pavankumar Kondeti --- drivers/base/arch_topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index 56f317fb7ee2..b9205290cf44 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -69,6 +69,7 @@ void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity) } DEFINE_PER_CPU(unsigned long, thermal_pressure); +EXPORT_PER_CPU_SYMBOL_GPL(thermal_pressure); void topology_set_thermal_pressure(const struct cpumask *cpus, unsigned long th_pressure)