mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
committed by
Todd Kjos
parent
c0704a1fc8
commit
73f8838ab9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user