diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-06-27 13:34:07 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-07-07 01:13:20 +0300 |
commit | da0c6dc00c69d0adaae99c3b3d2ea0c869a3fb35 (patch) | |
tree | 857ed9f41fafe743720003520ecc94d4e53114d8 /drivers/cpufreq/ppc_cbe_cpufreq.h | |
parent | 8d540ea79211dd272403ed79b2033bbded19ac42 (diff) | |
download | linux-da0c6dc00c69d0adaae99c3b3d2ea0c869a3fb35.tar.xz |
cpufreq: Handle sorted frequency tables more efficiently
cpufreq drivers aren't required to provide a sorted frequency table
today, and even the ones which provide a sorted table aren't handled
efficiently by cpufreq core.
This patch adds infrastructure to verify if the freq-table provided by
the drivers is sorted or not, and use efficient helpers if they are
sorted.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq.h')
0 files changed, 0 insertions, 0 deletions