mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
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:
parent
fed91561d8
commit
81d0336fb2
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user