diff options
Diffstat (limited to 'arch/x86/kvm/mmu.h')
-rw-r--r-- | arch/x86/kvm/mmu.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kvm/mmu.h b/arch/x86/kvm/mmu.h index a4fcb78ebf42..1730757bbc7a 100644 --- a/arch/x86/kvm/mmu.h +++ b/arch/x86/kvm/mmu.h | |||
@@ -3,12 +3,6 @@ | |||
3 | 3 | ||
4 | #include <linux/kvm_host.h> | 4 | #include <linux/kvm_host.h> |
5 | 5 | ||
6 | #ifdef CONFIG_X86_64 | ||
7 | #define TDP_ROOT_LEVEL PT64_ROOT_LEVEL | ||
8 | #else | ||
9 | #define TDP_ROOT_LEVEL PT32E_ROOT_LEVEL | ||
10 | #endif | ||
11 | |||
12 | #define PT64_PT_BITS 9 | 6 | #define PT64_PT_BITS 9 |
13 | #define PT64_ENT_PER_PAGE (1 << PT64_PT_BITS) | 7 | #define PT64_ENT_PER_PAGE (1 << PT64_PT_BITS) |
14 | #define PT32_PT_BITS 10 | 8 | #define PT32_PT_BITS 10 |