diff options
author | Thara Gopinath <thara.gopinath@linaro.org> | 2020-02-22 03:52:09 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-03-06 14:57:19 +0300 |
commit | 8eab879c5463d1a16a314790764c4c9d6c74c64c (patch) | |
tree | 88cd7f80491940ed2da20dcd77526691cf58f415 /arch/arm/include/asm/topology.h | |
parent | ae1677c0bbe23fe30d634ac0d9f5c147ee4adbc1 (diff) | |
download | linux-8eab879c5463d1a16a314790764c4c9d6c74c64c.tar.xz |
arm/topology: Populate arch_scale_thermal_pressure() for ARM platforms
Hook up topology_get_thermal_pressure to arch_scale_thermal_pressure thus
enabling scheduler to retrieve instantaneous thermal pressure of a CPU.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20200222005213.3873-6-thara.gopinath@linaro.org
Diffstat (limited to 'arch/arm/include/asm/topology.h')
-rw-r--r-- | arch/arm/include/asm/topology.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/topology.h b/arch/arm/include/asm/topology.h index 8a0fae94d45e..435aba289fc5 100644 --- a/arch/arm/include/asm/topology.h +++ b/arch/arm/include/asm/topology.h @@ -16,6 +16,9 @@ /* Enable topology flag updates */ #define arch_update_cpu_topology topology_update_cpu_topology +/* Replace task scheduler's default thermal pressure retrieve API */ +#define arch_scale_thermal_pressure topology_get_thermal_pressure + #else static inline void init_cpu_topology(void) { } |