Skip to content
Commit 4758d47e authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: MMU: inline set_spte in FNAME(sync_page)



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,
FNAME(sync_page) already has a struct kvm_mmu_page *, but set_spte had to
fish it back out of sptep's private page data.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d786c778
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment