diff options
author | 2021-01-07 19:43:30 +0100 | |
---|---|---|
committer | 2021-01-12 19:34:04 +0100 | |
commit | a45ee4d4e13b0e35a8ec7ea0bf9267243d57b302 (patch) | |
tree | c4df471ca72b907070c7b75176f4f3c90810757c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: intel_pstate: Always read hwp_cap_cached with READ_ONCE() (diff) | |
download | wireguard-linux-a45ee4d4e13b0e35a8ec7ea0bf9267243d57b302.tar.xz wireguard-linux-a45ee4d4e13b0e35a8ec7ea0bf9267243d57b302.zip |
cpufreq: intel_pstate: Change intel_pstate_get_hwp_max() argument
All of the callers of intel_pstate_get_hwp_max() access the struct
cpudata object that corresponds to the given CPU already and the
function itself needs to access that object (in order to update
hwp_cap_cached), so modify the code to pass a struct cpudata pointer
to it instead of the CPU number.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions