summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2010-06-10 13:10:55 +0200
committerAvi Kivity <avi@redhat.com>2010-08-01 10:46:29 +0300
commita24e809902339458416900869abdcc51a44bfd48 (patch)
tree83d988a4b47c501d3775b5c07547e71b79456b82 /arch
parent376d41ff2669617a1ef828466ad07a1be99d24d3 (diff)
downloadlinux-3.10-a24e809902339458416900869abdcc51a44bfd48.tar.gz
linux-3.10-a24e809902339458416900869abdcc51a44bfd48.tar.bz2
linux-3.10-a24e809902339458416900869abdcc51a44bfd48.zip
KVM: Fix unused but set warnings
No real bugs in this one. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/paging_tmpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h
index 1f7f5dd8306..9308be2d5c0 100644
--- a/arch/x86/kvm/paging_tmpl.h
+++ b/arch/x86/kvm/paging_tmpl.h
@@ -444,6 +444,7 @@ static int FNAME(page_fault)(struct kvm_vcpu *vcpu, gva_t addr,
kvm_mmu_free_some_pages(vcpu);
sptep = FNAME(fetch)(vcpu, addr, &walker, user_fault, write_fault,
level, &write_pt, pfn);
+ (void)sptep;
pgprintk("%s: shadow pte %p %llx ptwrite %d\n", __func__,
sptep, *sptep, write_pt);