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)
commit2f5339582e7b540851bfb37e184d4dee0ab9e387
tree19207aaad2cda97568f3b790732d3b5e474b351e
parent01e055c120a46e78650b5f903088badbbdaae9ad
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