KVM: x86: MMU: Use for_each_rmap_spte macro instead of pte_list_walk()
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Thu, 26 Nov 2015 12:15:38 +0000 (21:15 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 Nov 2015 14:31:31 +0000 (15:31 +0100)
commit74c4e63ab9b550b47ca2eb192e52d6c8971e2f31
tree144a559b3bb33a1d5f5a041f03d9e3cc4f6f5775
parent98bba238429e200521594ed30dd1edad7faa0081
KVM: x86: MMU: Use for_each_rmap_spte macro instead of pte_list_walk()

As kvm_mmu_get_page() was changed so that every parent pointer would not
get into the sp->parent_ptes chain before the entry pointed to by it was
set properly, we can use the for_each_rmap_spte macro instead of
pte_list_walk().

Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c