Skip to content

Commit

Permalink
KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()
Browse files Browse the repository at this point in the history
Use gva_t instead of unsigned int for eaddr in deliver_tlb_miss().

Signed-off-by: Mihai Caraman <[email protected]>
CC: [email protected]
Signed-off-by: Alexander Graf <[email protected]>
  • Loading branch information
mcaraman authored and agraf committed Jan 27, 2014
1 parent 48eaef0 commit 70713fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kvm/e500_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static int kvmppc_e500_tlb_index(struct kvmppc_vcpu_e500 *vcpu_e500,
}

static inline void kvmppc_e500_deliver_tlb_miss(struct kvm_vcpu *vcpu,
unsigned int eaddr, int as)
gva_t eaddr, int as)
{
struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu);
unsigned int victim, tsized;
Expand Down

0 comments on commit 70713fe

Please sign in to comment.