summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/44x_tlb.c
diff options
context:
space:
mode:
authorHollis Blanchard <hollis_blanchard@mentor.com>2010-08-07 10:33:57 -0700
committerAvi Kivity <avi@redhat.com>2010-10-24 10:52:17 +0200
commit0b3bafc8e5867039e265869749abbb7ea6dd2c8b (patch)
tree636d2fff6fb1ff90b0c2e489f6c70c803b08a4e8 /arch/powerpc/kvm/44x_tlb.c
parent082decf29a9fe5bd5dcbfb26223e44edd9deabed (diff)
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>
Diffstat (limited to 'arch/powerpc/kvm/44x_tlb.c')
-rw-r--r--arch/powerpc/kvm/44x_tlb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/44x_tlb.c b/arch/powerpc/kvm/44x_tlb.c
index 9f71b8d6eb0..5f3cff83e08 100644
--- a/arch/powerpc/kvm/44x_tlb.c
+++ b/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;