summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHollis Blanchard <hollis_blanchard@mentor.com>2010-08-07 21:33:57 +0400
committerAvi Kivity <avi@redhat.com>2010-10-24 12:52:17 +0400
commit0b3bafc8e5867039e265869749abbb7ea6dd2c8b (patch)
tree636d2fff6fb1ff90b0c2e489f6c70c803b08a4e8 /arch
parent082decf29a9fe5bd5dcbfb26223e44edd9deabed (diff)
downloadlinux-0b3bafc8e5867039e265869749abbb7ea6dd2c8b.tar.xz
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')
-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 9f71b8d6eb0d..5f3cff83e089 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;