KVM: PPC: e500_tlb: Fix a minor copy-paste tracing bug
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Mon, 30 Aug 2010 15:38:39 +0000 (11:38 -0400)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:21 +0000 (10:52 +0200)
The kvmppc_e500_stlbe_invalidate() function was trying to pass too many
parameters to trace_kvm_stlb_inval().  This appears to be a bad
copy-paste from a call to trace_kvm_stlb_write().

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_tlb.c

index 092a390876f3337edf670d380eb7e706dbc238da..a413883cf94898ce385a21121d2de543319db1e2 100644 (file)
@@ -226,8 +226,7 @@ static void kvmppc_e500_stlbe_invalidate(struct kvmppc_vcpu_e500 *vcpu_e500,
 
        kvmppc_e500_shadow_release(vcpu_e500, tlbsel, esel);
        stlbe->mas1 = 0;
-       trace_kvm_stlb_inval(index_of(tlbsel, esel), stlbe->mas1, stlbe->mas2,
-                            stlbe->mas3, stlbe->mas7);
+       trace_kvm_stlb_inval(index_of(tlbsel, esel));
 }
 
 static void kvmppc_e500_tlb1_invalidate(struct kvmppc_vcpu_e500 *vcpu_e500,