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 Todd Kjos
parent c9760ef713
commit d7db9dc74f
+1
View File
@@ -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)