summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-08-27 15:43:18 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-08-27 15:43:18 +0300
commit2413a85200ee9cbed40d12c6e3b856752b089790 (patch)
tree29bc6331e384e3cc8a571a56a5e6f7cfb065ba4c /drivers
parentbd9594ae4c55351f134620ab890259820abf4c43 (diff)
parent36527b9d882362567ceb4eea8666813280f30e6f (diff)
downloadlinux-2413a85200ee9cbed40d12c6e3b856752b089790.tar.xz
Merge branch 'acpi-processor' into acpi
* acpi-processor: ACPI: processor: Remove freq Qos request for all CPUs
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/processor_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c
index db6ac540e924..e534fd49a67e 100644
--- a/drivers/acpi/processor_thermal.c
+++ b/drivers/acpi/processor_thermal.c
@@ -151,7 +151,7 @@ void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy)
unsigned int cpu;
for_each_cpu(cpu, policy->related_cpus) {
- struct acpi_processor *pr = per_cpu(processors, policy->cpu);
+ struct acpi_processor *pr = per_cpu(processors, cpu);
if (pr)
freq_qos_remove_request(&pr->thermal_req);