summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorShivank Garg <shivankg@amd.com>2025-10-12 07:16:06 +0000
committerSean Christopherson <seanjc@google.com>2025-10-20 06:30:27 -0700
commit049e560d4f47960c31c06f3de7712e4d2c5d16a2 (patch)
treec8601859d655ef68134ec9057ab44a1db831278f /tools/lib/python/kdoc/parse_data_structs.py
parentf634f10809ec3d51d9529dfb0f99bc7cec1b5eff (diff)
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 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions