diff options
author | Paul Durrant <pdurrant@amazon.com> | 2024-02-15 18:28:56 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-02-20 18:37:39 +0300 |
commit | f39b80e3ff12ced77dddcacd28b4af878cac1433 (patch) | |
tree | 923eb487dace268c55a82cc11785512006468f78 /drivers/cpuidle/cpuidle.c | |
parent | db7d6fbc10447090bab8691a907a7c383ec66f58 (diff) | |
download | linux-f39b80e3ff12ced77dddcacd28b4af878cac1433.tar.xz |
KVM: pfncache: Add a map helper function
There is a pfncache unmap helper but mapping is open-coded. Arguably this
is fine because mapping is done in only one place, hva_to_pfn_retry(), but
adding the helper does make that function more readable.
No functional change intended.
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://lore.kernel.org/r/20240215152916.1158-2-paul@xen.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle.c')
0 files changed, 0 insertions, 0 deletions