diff options
author | 2019-03-26 12:16:58 +0100 | |
---|---|---|
committer | 2019-04-01 23:43:05 +0200 | |
commit | 540a375822a40675868c5f62ae57b608a579e56a (patch) | |
tree | 3bd9e9ee6d92331bb1d3dca78e087e343a1b3c03 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: intel_pstate: Driver-specific handling of _PPC updates (diff) | |
download | linux-dev-540a375822a40675868c5f62ae57b608a579e56a.tar.xz linux-dev-540a375822a40675868c5f62ae57b608a579e56a.zip |
cpufreq: Add cpufreq_cpu_acquire() and cpufreq_cpu_release()
It sometimes is necessary to find a cpufreq policy for a given CPU
and acquire its rwsem (for writing) immediately after that, so
introduce cpufreq_cpu_acquire() as a helper for that and the
complementary cpufreq_cpu_release().
Make cpufreq_update_policy() use the new functions.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions