From 73f8838ab975f352fc4292b9c667f16a4609a392 Mon Sep 17 00:00:00 2001 From: Sai Harshini Nimmala Date: Tue, 16 Aug 2022 17:41:43 -0700 Subject: [PATCH] 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 c18e2df05bbd ("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 Change-Id: Iaa5def63f281636ce6b0c9781ca3c3cd9efd5156 --- drivers/base/arch_topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index 46cbe4471e78..f4f03b79735a 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -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