diff options
| author | Shivank Garg <shivankg@amd.com> | 2025-10-12 10:16:06 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-10-20 16:30:27 +0300 |
| commit | 049e560d4f47960c31c06f3de7712e4d2c5d16a2 (patch) | |
| tree | c8601859d655ef68134ec9057ab44a1db831278f /scripts/patch-kernel | |
| parent | f634f10809ec3d51d9529dfb0f99bc7cec1b5eff (diff) | |
| download | linux-049e560d4f47960c31c06f3de7712e4d2c5d16a2.tar.xz | |
KVM: guest_memfd: move kvm_gmem_get_index() and use in kvm_gmem_prepare_folio()
Move kvm_gmem_get_index() to the top of the file so that it can be used
in kvm_gmem_prepare_folio() to replace the open-coded calculation.
No functional change intended.
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Shivank Garg <shivankg@amd.com>
Link: https://lore.kernel.org/r/20251012071607.17646-1-shivankg@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
