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:
d34e6b1
)
KVM: MMU: Fix MMU_DEBUG compile breakage
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 9 Jul 2009 14:36:01 +0000
(16:36 +0200)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 05:33:13 +0000
(08:33 +0300)
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/mmu.c
b/arch/x86/kvm/mmu.c
index ac121b39a5bce1a406c4f9f01c59f55f4c0a5866..f1f08159e11e5663dc21d6e6417c0253d1805602 100644
(file)
--- a/
arch/x86/kvm/mmu.c
+++ b/
arch/x86/kvm/mmu.c
@@
-1808,8
+1808,8
@@
static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep,
pgprintk("%s: setting spte %llx\n", __func__, *sptep);
pgprintk("instantiating %s PTE (%s) at %ld (%llx) addr %p\n",
is_large_pte(*sptep)? "2MB" : "4kB",
-
is_present_pte(*sptep)
?"RW":"R", gfn,
- *s
hadow_pte
, sptep);
+
*sptep & PT_PRESENT_MASK
?"RW":"R", gfn,
+ *s
ptep
, sptep);
if (!was_rmapped && is_large_pte(*sptep))
++vcpu->kvm->stat.lpages;