]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Rename cr2_or_gpa to gpa in fast_page_fault
authorDavid Matlack <dmatlack@google.com>
Tue, 13 Jul 2021 22:09:52 +0000 (22:09 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Aug 2021 15:01:46 +0000 (11:01 -0400)
commitad323cd9a81f1972bcf3c97b1f3e0d201175c2e9
tree6ece8237cffa3712e8b09e415fe6af55a3eb1a0e
parentfb07e248dc1376a4ee36bb505bf30c4b57d58a7f
KVM: x86/mmu: Rename cr2_or_gpa to gpa in fast_page_fault

fast_page_fault is only called from direct_page_fault where we know the
address is a gpa.

Fixes: ed7c7d188bfe ("KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on 32-bit KVM")
Reviewed-by: Ben Gardon <bgardon@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20210713220957.3493520-2-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c