]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
KVM/MMU: Fix comment in walk_shadow_page_lockless_end()
authorTianyu Lan <Tianyu.Lan@microsoft.com>
Fri, 7 Sep 2018 05:45:02 +0000 (05:45 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Sep 2018 22:26:45 +0000 (00:26 +0200)
kvm_commit_zap_page() has been renamed to kvm_mmu_commit_zap_page()
This patch is to fix the commit.

Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c

index 5402c53a079bcd25c4729e942b3ddace56ff04fc..d7e9bce6ff61c74d3d36fe6c9d4981e7136e0405 100644 (file)
@@ -899,7 +899,7 @@ static void walk_shadow_page_lockless_end(struct kvm_vcpu *vcpu)
 {
        /*
         * Make sure the write to vcpu->mode is not reordered in front of
-        * reads to sptes.  If it does, kvm_commit_zap_page() can see us
+        * reads to sptes.  If it does, kvm_mmu_commit_zap_page() can see us
         * OUTSIDE_GUEST_MODE and proceed to free the shadow page table.
         */
        smp_store_release(&vcpu->mode, OUTSIDE_GUEST_MODE);