diff options
| author | Viresh Kumar <[email protected]> | 2013-10-02 14:13:19 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2013-10-16 00:50:23 +0200 |
| commit | be49e3465f222b4b796be8a21d14afbfd8f5d20f (patch) | |
| tree | e1ef5d9cb453bb3c7f073a4d209d2b63d980aec3 /tools/perf/scripts/python | |
| parent | 0b981e70748861a3e10ea2e2a689bdcee3e15085 (diff) | |
cpufreq: add new routine cpufreq_verify_within_cpu_limits()
Most of the users of cpufreq_verify_within_limits() calls it for
limiting with min/max from policy->cpuinfo. We can make that code
simple by introducing another routine which will do this for them
automatically.
This patch adds another routine cpufreq_verify_within_cpu_limits()
and updates others to use it.
Signed-off-by: Viresh Kumar <[email protected]>
Acked-by: Dirk Brandewie <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions