diff options
author | Junaid Shahid <junaids@google.com> | 2018-05-04 21:37:11 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-14 19:14:23 +0300 |
commit | 74b566e6cf21f07df385d593a7fcf8bbfc5d3f0f (patch) | |
tree | 95bb7e32451e24f87ac2c96027da58894b08e0be /arch/x86/include/asm/hyperv-tlfs.h | |
parent | a780a3ea628268b2ad0ed43d7f28d90db0ff18be (diff) | |
download | linux-74b566e6cf21f07df385d593a7fcf8bbfc5d3f0f.tar.xz |
kvm: x86: Refactor mmu_free_roots()
Extract the logic to free a root page in a separate function to avoid code
duplication in mmu_free_roots(). Also, change it to an exported function
i.e. kvm_mmu_free_roots().
Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/hyperv-tlfs.h')
0 files changed, 0 insertions, 0 deletions