KVM: MMU: Remove #ifdef CONFIG_X86_64 to support 4 level EPT
authorSheng Yang <sheng.yang@intel.com>
Fri, 25 Apr 2008 13:44:42 +0000 (21:44 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:44:39 +0000 (14:44 +0300)
commit1ac593c97eb229da44819f66fea47975537c1177
treef381011e4c84d67bb6093402429894083a932879
parent7b52345e2c4c7333bf7eba8034ffc4683fa63c91
KVM: MMU: Remove #ifdef CONFIG_X86_64 to support 4 level EPT

Currently EPT level is 4 for both pae and x86_64. The patch remove the #ifdef
for alloc root_hpa and free root_hpa to support EPT.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c