diff options
author | Manfred Spraul <manfred@colorfullife.com> | 2021-12-22 15:09:31 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-12-30 19:39:34 +0100 |
commit | 8120832d8f82aa7316c578fbccf11e385a5b3601 (patch) | |
tree | 6efdba329e3a9e133f722b2af6dc55d1dc7eef55 /include/acpi/platform | |
parent | 87ebbb8c612b1214f227ebb8f25442c6d163e802 (diff) |
ACPI: processor: thermal: avoid cpufreq_get_policy()
cpu_has_cpufreq() stores a 'struct cpufreq_policy' on the stack.
Unfortunately, with debugging options enabled, the structure can be
larger than 1024 bytes, which causes a compiler warning/error.
(actually observed: 1184 bytes).
Therefore: Switch to cpufreq_cpu_get().
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/platform')
0 files changed, 0 insertions, 0 deletions