KVM: x86/mmu: Move the code out of FNAME(sync_page)'s loop body into mmu.c
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Thu, 16 Feb 2023 15:41:11 +0000 (23:41 +0800)
committerSean Christopherson <seanjc@google.com>
Fri, 17 Mar 2023 00:19:44 +0000 (17:19 -0700)
commitc3c6c9fc5d24bcafbbeda2edb521b70f5df052b7
tree73903b8da92620bf30414072a458b0923ed7cb9d
parent8ef228c20cae89c701c1ef7b8b8a84d6925b3575
KVM: x86/mmu: Move the code out of FNAME(sync_page)'s loop body into mmu.c

Rename mmu->sync_page to mmu->sync_spte and move the code out
of FNAME(sync_page)'s loop body into mmu.c.

No functionalities change intended.

Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Link: https://lore.kernel.org/r/20230216154115.710033-6-jiangshanlai@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/paging_tmpl.h