]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: VMX: Hoist construct_eptp() "up" in vmx.c
authorSean Christopherson <seanjc@google.com>
Fri, 19 Sep 2025 00:59:47 +0000 (17:59 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 17 Oct 2025 22:11:26 +0000 (15:11 -0700)
commitf48888bb8ad109c772c9dcdfabbf749ab5ac5502
tree48e5e7b3db5d896db8c98dae0cb89cb84ee31521
parent0bd0a4a1428baaf4447e95f0832492d9e3d64961
KVM: VMX: Hoist construct_eptp() "up" in vmx.c

Move construct_eptp() further up in vmx.c so that it's above
vmx_flush_tlb_current(), its "first" user in vmx.c.  This will allow a
future patch to opportunistically make construct_eptp() local to vmx.c.

No functional change intended.

Link: https://lore.kernel.org/r/20250919005955.1366256-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c