summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/genapic.h
diff options
context:
space:
mode:
authorJunaid Shahid <junaids@google.com>2018-05-04 11:37:11 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2018-05-14 18:14:23 +0200
commit74b566e6cf21f07df385d593a7fcf8bbfc5d3f0f (patch)
tree95bb7e32451e24f87ac2c96027da58894b08e0be /arch/x86/include/asm/genapic.h
parenta780a3ea628268b2ad0ed43d7f28d90db0ff18be (diff)
downloadlwn-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/genapic.h')
0 files changed, 0 insertions, 0 deletions