diff options
| author | Manfred Spraul <[email protected]> | 2021-12-22 14:09:31 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-12-30 18:39:34 +0000 |
| commit | 8120832d8f82aa7316c578fbccf11e385a5b3601 (patch) | |
| tree | 6efdba329e3a9e133f722b2af6dc55d1dc7eef55 /tools/bpf/bpftool/prog.c | |
| parent | ACPI: processor: idle: Only flush cache on entering C3 (diff) | |
| download | kernel-8120832d8f82aa7316c578fbccf11e385a5b3601.tar.gz kernel-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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
