KVM: MMU: remove the arithmetic of parent pte rmap
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Sun, 15 May 2011 15:27:08 +0000 (23:27 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:07 +0000 (11:45 +0300)
commit67052b3508f09956427d6476fd35e8fddde6c618
treeb3b9585977d0fdbb746c3cf7dc41a0e24b87411e
parent53c07b18787d564a105e1aa678795d67eeb27447
KVM: MMU: remove the arithmetic of parent pte rmap

Parent pte rmap and page rmap are very similar, so use the same arithmetic
for them

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c