diff options
author | 2021-12-22 15:09:31 +0100 | |
---|---|---|
committer | 2021-12-30 19:39:34 +0100 | |
commit | 8120832d8f82aa7316c578fbccf11e385a5b3601 (patch) | |
tree | 6efdba329e3a9e133f722b2af6dc55d1dc7eef55 /net/unix/af_unix.c | |
parent | ACPI: processor: idle: Only flush cache on entering C3 (diff) | |
download | wireguard-linux-8120832d8f82aa7316c578fbccf11e385a5b3601.tar.xz wireguard-linux-8120832d8f82aa7316c578fbccf11e385a5b3601.zip |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions