KVM: MMU: Add drop_large_spte() helper
authorAvi Kivity <avi@redhat.com>
Tue, 13 Jul 2010 11:27:06 +0000 (14:27 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:42 +0000 (06:40 +0300)
commita3aa51cfaafe9179add88db20506ccb07e030b47
treeb58ee2e25bb147d2bd4987eb1fa4d4737dd57bc9
parent121eee97a7802acda8b78436cc53196e9885549f
KVM: MMU: Add drop_large_spte() helper

To clarify spte fetching code, move large spte handling into a helper.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h