]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Capture 'mmu' in a local variable when allocating roots
authorSean Christopherson <seanjc@google.com>
Fri, 5 Mar 2021 01:10:47 +0000 (17:10 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:42:15 +0000 (04:42 -0400)
commitf1dc042fc77f573df27d70e93a0162dfbaa86943
tree524bdffd1af79031b3c29e4bc2b7ae0664518dbb
parent0c9fd25f34243b08a84a02c17ac114a9fdd22eb5
KVM: x86/mmu: Capture 'mmu' in a local variable when allocating roots

Grab 'mmu' and do s/vcpu->arch.mmu/mmu to shorten line lengths and yield
smaller diffs when moving code around in future cleanup without forcing
the new code to use the same ugly pattern.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210305011101.3597423-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c