Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()

Use gva_t instead of unsigned int for eaddr in deliver_tlb_miss().

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
CC: stable@vger.kernel.org
Signed-off-by: Alexander Graf <agraf@suse.de>

authored by

Mihai Caraman and committed by
Alexander Graf
70713fe3 48eaef05

+1 -1
+1 -1
arch/powerpc/kvm/e500_mmu.c
··· 127 127 } 128 128 129 129 static inline void kvmppc_e500_deliver_tlb_miss(struct kvm_vcpu *vcpu, 130 - unsigned int eaddr, int as) 130 + gva_t eaddr, int as) 131 131 { 132 132 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); 133 133 unsigned int victim, tsized;