summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu/paging_tmpl.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-08-17 07:22:32 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-01 03:44:54 -0400
commitd786c7783b01a01346f77e8e785030b5096c191a (patch)
tree6586ba08a2c2ad5d7af5f8c75b57df91a2d22d04 /arch/x86/kvm/mmu/paging_tmpl.h
parent888104138cb8e88c3825efc07b0000c195346387 (diff)
downloadlinux-d786c7783b01a01346f77e8e785030b5096c191a.tar.bz2
KVM: MMU: inline set_spte in mmu_set_spte
Since the two callers of set_spte do different things with the results, inlining it actually makes the code simpler to reason about. For example, mmu_set_spte looks quite like tdp_mmu_map_handle_target_level, but the similarity is hidden by set_spte. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions