From d7db9dc74f6e14f9f323c6bdaa1f7ee40911d7f4 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 bbf1e04bd406..a7864e27b68f 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -160,6 +160,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)