aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index c9fb2bc13a81..3315efaacf9e 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -55,7 +55,7 @@
55#define UNMAPPED_GVA (~(gpa_t)0) 55#define UNMAPPED_GVA (~(gpa_t)0)
56 56
57/* KVM Hugepage definitions for x86 */ 57/* KVM Hugepage definitions for x86 */
58#define KVM_NR_PAGE_SIZES 2 58#define KVM_NR_PAGE_SIZES 3
59#define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + (((x) - 1) * 9)) 59#define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + (((x) - 1) * 9))
60#define KVM_HPAGE_SIZE(x) (1UL << KVM_HPAGE_SHIFT(x)) 60#define KVM_HPAGE_SIZE(x) (1UL << KVM_HPAGE_SHIFT(x))
61#define KVM_HPAGE_MASK(x) (~(KVM_HPAGE_SIZE(x) - 1)) 61#define KVM_HPAGE_MASK(x) (~(KVM_HPAGE_SIZE(x) - 1))