KVM: MMU: move prefetch_invalid_gpte out of pagaing_tmp.h
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 16 Oct 2012 12:09:36 +0000 (20:09 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 17 Oct 2012 14:39:18 +0000 (16:39 +0200)
commita052b42b0e618f34ca891f00b4e8b8ac0e4b80c0
tree7cfe89fc71bc93b056bacd78af40333ba8812ef5
parentd4878f24e32f5ea5330e6a48977c8997396bc014
KVM: MMU: move prefetch_invalid_gpte out of pagaing_tmp.h

The function does not depend on guest mmu mode, move it out from
paging_tmpl.h

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