KVM: MMU: Move SHADOW_PT_INDEX to mmu.c
authorAvi Kivity <avi@qumranet.com>
Thu, 21 Aug 2008 14:49:56 +0000 (17:49 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:22 +0000 (10:15 +0200)
commit135f8c2b078533cc74e75f696e73d47304a61125
tree784d302d329b32cf2e0ed1b0ac7f2809a8c2fd50
parent6eb06cb2863a2ff5704b501f1699216180e790b5
KVM: MMU: Move SHADOW_PT_INDEX to mmu.c

It is not specific to the paging mode, so can be made global (and reusable).

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h