]> git.baikalelectronics.ru Git - kernel.git/commit
arch_topology: Export arch_freq_scale and helpers
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 10 Mar 2021 02:55:27 +0000 (08:25 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 12 Mar 2021 05:05:57 +0000 (10:35 +0530)
commit3cb22875ef1287e7877d5fd86876ec061cb5a6b7
tree19207aaad2cda97568f3b790732d3b5e474b351e
parent6cb8640b34e0d24e43b2d3f33657a36499a0ef3a
arch_topology: Export arch_freq_scale and helpers

It is possible now for other parts of the kernel to provide their own
implementation of sched_freq_tick() and they can very well be modules
themselves (like CPPC cpufreq driver, which is going to use these in a
later commit).

Export arch_freq_scale and topology_{set|clear}_scale_freq_source().

Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Tested-by: Ionela Voinescu <ionela.voinescu@arm.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/base/arch_topology.c