diff options
author | Junaid Shahid <junaids@google.com> | 2018-05-04 11:37:11 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-14 18:14:23 +0200 |
commit | 74b566e6cf21f07df385d593a7fcf8bbfc5d3f0f (patch) | |
tree | 95bb7e32451e24f87ac2c96027da58894b08e0be /arch/x86/include/asm/olpc.h | |
parent | a780a3ea628268b2ad0ed43d7f28d90db0ff18be (diff) | |
download | lwn-74b566e6cf21f07df385d593a7fcf8bbfc5d3f0f.tar.gz lwn-74b566e6cf21f07df385d593a7fcf8bbfc5d3f0f.zip |
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/olpc.h')
0 files changed, 0 insertions, 0 deletions