diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-01-07 19:43:30 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-01-12 19:34:04 +0100 |
commit | a45ee4d4e13b0e35a8ec7ea0bf9267243d57b302 (patch) | |
tree | c4df471ca72b907070c7b75176f4f3c90810757c /scripts/kernel-doc | |
parent | 9dd04ec6bc6fa7b310e5595f2ad9bef13eacd3a0 (diff) |
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 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions