Browse Source

KVM: PPC: fix compilation of "dump tlbs" debug function

Missing local variable.

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Hollis Blanchard 15 years ago
parent
commit
0b3bafc8e5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/powerpc/kvm/44x_tlb.c

+ 1 - 0
arch/powerpc/kvm/44x_tlb.c

@@ -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;