projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e4e405
)
KVM: MMU: enable gbpages by increasing nr of pagesizes
author
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 27 Jul 2009 14:30:47 +0000
(16:30 +0200)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 05:33:19 +0000
(08:33 +0300)
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/kvm_host.h
b/arch/x86/include/asm/kvm_host.h
index c9fb2bc13a81c1877ffdebf3247d712d4267fdd5..3315efaacf9ea9df9ae73defee56c7d8cd3cfb7b 100644
(file)
--- a/
arch/x86/include/asm/kvm_host.h
+++ b/
arch/x86/include/asm/kvm_host.h
@@
-55,7
+55,7
@@
#define UNMAPPED_GVA (~(gpa_t)0)
/* KVM Hugepage definitions for x86 */
-#define KVM_NR_PAGE_SIZES
2
+#define KVM_NR_PAGE_SIZES
3
#define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + (((x) - 1) * 9))
#define KVM_HPAGE_SIZE(x) (1UL << KVM_HPAGE_SHIFT(x))
#define KVM_HPAGE_MASK(x) (~(KVM_HPAGE_SIZE(x) - 1))