KVM: MMU: make for_each_shadow_entry aware of largepages
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 11 Jun 2009 15:07:41 +0000 (12:07 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:55 +0000 (08:32 +0300)
commit4d88954d6246d7d43bb8903981731002179f1a1c
tree6629e1a9cd6968d9048e078775aeedff43ac133e
parente799794e02a368f79c3fae26aabaaadd0b7466ce
KVM: MMU: make for_each_shadow_entry aware of largepages

This way there is no need to add explicit checks in every
for_each_shadow_entry user.

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