KVM: MMU: introduce FNAME(prefetch_gpte)
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 16 Oct 2012 12:10:12 +0000 (20:10 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 17 Oct 2012 14:39:19 +0000 (16:39 +0200)
The only difference between FNAME(update_pte) and FNAME(pte_prefetch)
is that the former is allowed to prefetch gfn from dirty logged slot,
so introduce a common function to prefetch spte

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h

Simple merge