KVM: PPC: fix compilation of "dump tlbs" debug function
authorHollis Blanchard <hollis_blanchard@mentor.com>
Sat, 7 Aug 2010 17:33:57 +0000 (10:33 -0700)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:17 +0000 (10:52 +0200)
Missing local variable.

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/44x_tlb.c

index 9f71b8d6eb0d904911427ed6052e2bbf40ab6929..5f3cff83e0891a50129087a29dffa5f3e5688a9e 100644 (file)
@@ -47,6 +47,7 @@
 #ifdef DEBUG
 void kvmppc_dump_tlbs(struct kvm_vcpu *vcpu)
 {
+       struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu);
        struct kvmppc_44x_tlbe *tlbe;
        int i;