]> 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)
commit22105265215467a28e28799c6ce382aa19a5b9c3
tree524bdffd1af79031b3c29e4bc2b7ae0664518dbb
parent18020d43b7d8fea4f8653d49637ad9dcd0e527b1
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