diff options
| author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2013-07-30 02:54:36 +0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-08 01:02:48 +0400 |
| commit | f9ba680d23ea7e2fc31b4b7106a482d90ec62a24 (patch) | |
| tree | 581152bc0b8f8a4ed89147df6d6b22a67495eb9e /tools/perf/scripts/python | |
| parent | e18f1682bce701ddcf88ba3651e07c7ee9b3ed60 (diff) | |
| download | linux-f9ba680d23ea7e2fc31b4b7106a482d90ec62a24.tar.xz | |
cpufreq: Extract the handover of policy cpu to a helper function
During cpu offline, when the policy->cpu is going down, some other CPU
present in the policy->cpus mask is nominated as the new policy->cpu.
Extract this functionality from __cpufreq_remove_dev() and implement
it in a helper function. This helps in upcoming code reorganization.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Acked-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')
0 files changed, 0 insertions, 0 deletions
