summaryrefslogtreecommitdiff
path: root/scripts/modules-check.sh
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-01-07 19:43:30 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-01-12 19:34:04 +0100
commita45ee4d4e13b0e35a8ec7ea0bf9267243d57b302 (patch)
treec4df471ca72b907070c7b75176f4f3c90810757c /scripts/modules-check.sh
parent9dd04ec6bc6fa7b310e5595f2ad9bef13eacd3a0 (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/modules-check.sh')
0 files changed, 0 insertions, 0 deletions