aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-07-09 10:36:01 -0400
committerAvi Kivity <avi@redhat.com>2009-09-10 01:33:13 -0400
commita205bc19f0d203f31a15bd2f9464ef05f918b77e (patch)
treea602f005f944f74a60f8c0918d824749b1dfc782 /arch/x86/kvm/mmu.c
parentd34e6b175e61821026893ec5298cc8e7558df43a (diff)
KVM: MMU: Fix MMU_DEBUG compile breakage
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index ac121b39a5bc..f1f08159e11e 100644
--- 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,
1808 pgprintk("%s: setting spte %llx\n", __func__, *sptep); 1808 pgprintk("%s: setting spte %llx\n", __func__, *sptep);
1809 pgprintk("instantiating %s PTE (%s) at %ld (%llx) addr %p\n", 1809 pgprintk("instantiating %s PTE (%s) at %ld (%llx) addr %p\n",
1810 is_large_pte(*sptep)? "2MB" : "4kB", 1810 is_large_pte(*sptep)? "2MB" : "4kB",
1811 is_present_pte(*sptep)?"RW":"R", gfn, 1811 *sptep & PT_PRESENT_MASK ?"RW":"R", gfn,
1812 *shadow_pte, sptep); 1812 *sptep, sptep);
1813 if (!was_rmapped && is_large_pte(*sptep)) 1813 if (!was_rmapped && is_large_pte(*sptep))
1814 ++vcpu->kvm->stat.lpages; 1814 ++vcpu->kvm->stat.lpages;
1815 1815