ANDROID: arch_topology: Export thermal pressure symbol

Symbol needed for implementing Qualcomm's load tracking scheme WALT via
vendor modules. This enables the vendor module to be able to use the
arch_scale_thermal_pressure() API.

This reverts commit c18e2df05b ("Revert "ANDROID: arch_topology: Export
thermal pressure symbol"").
Original change was reverted, now bringing this back in.

Bug: 175847109
Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
Change-Id: Iaa5def63f281636ce6b0c9781ca3c3cd9efd5156
This commit is contained in:
Sai Harshini Nimmala
2022-08-16 17:41:43 -07:00
committed by Todd Kjos
parent c0704a1fc8
commit 73f8838ab9

View File

@@ -159,6 +159,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);
/**
* topology_update_thermal_pressure() - Update thermal pressure for CPUs