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 <pkondeti@codeaurora.org>
This commit is contained in:
Pavankumar Kondeti
2020-12-17 14:17:25 +05:30
committed by Quentin Perret
parent fed91561d8
commit 81d0336fb2

View File

@@ -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)