diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-01-02 10:04:33 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-01-24 00:49:34 +0300 |
commit | d7a9771c1a37af8d0cd0cf97723aeea88b9de8bb (patch) | |
tree | e8131d4c3cc33fd7c24be19bfdfc86f278795bce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7f0c020ab6ecb513394de9b02df33a5cfc62084f (diff) | |
download | linux-d7a9771c1a37af8d0cd0cf97723aeea88b9de8bb.tar.xz |
cpufreq: use light-weight cpufreq_cpu_get_raw() in __cpufreq_add_dev()
We just need to check if a 'policy' is already present for the cpu we are
adding. We don't need to take all the locks and do kobject usage updates. Use
the light-weight cpufreq_cpu_get_raw() routine instead.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions