aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/fixdep.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2020-02-28 09:49:10 +0000
committerPaolo Bonzini <[email protected]>2020-02-28 09:54:50 +0000
commitaaec7c03de92c35a96966631989950e6e27662db (patch)
treeea7bca180557b531b94b6a1a3d81aaca81bd8c89 /scripts/basic/fixdep.c
parentKVM: allow disabling -Werror (diff)
downloadkernel-aaec7c03de92c35a96966631989950e6e27662db.tar.gz
kernel-aaec7c03de92c35a96966631989950e6e27662db.zip
KVM: x86: avoid useless copy of cpufreq policy
struct cpufreq_policy is quite big and it is not a good idea to allocate one on the stack. Just use cpufreq_cpu_get and cpufreq_cpu_put which is even simpler. Reported-by: Christoph Hellwig <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/basic/fixdep.c')
0 files changed, 0 insertions, 0 deletions