[PATCH 25/35] KVM: PPC: fix compilation of "dump tlbs" debug function

Alexander Graf agraf at suse.de
Tue Aug 31 12:32:06 EST 2010


From: Hollis Blanchard <hollis_blanchard at mentor.com>

Missing local variable.

Signed-off-by: Hollis Blanchard <hollis_blanchard at mentor.com>
Signed-off-by: Alexander Graf <agraf at suse.de>
---
 arch/powerpc/kvm/44x_tlb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kvm/44x_tlb.c b/arch/powerpc/kvm/44x_tlb.c
index 9f71b8d..5f3cff8 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;
 
-- 
1.6.0.2



More information about the Linuxppc-dev mailing list