summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Caraman <mihai.caraman@freescale.com>2014-01-09 17:01:05 +0200
committerBen Hutchings <ben@decadent.org.uk>2014-04-02 00:58:45 +0100
commitdca0911e0166162f38926c19ae0fce3b3cf37f01 (patch)
tree0e13ff803a195f642b04cacbc360af77130bbbf7
parenta1d1c11c3d74677c210fb1a2db4dbeb239dc6d49 (diff)
downloadlwn-dca0911e0166162f38926c19ae0fce3b3cf37f01.tar.gz
lwn-dca0911e0166162f38926c19ae0fce3b3cf37f01.zip
KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()
commit 70713fe315ed14cd1bb07d1a7f33e973d136ae3d upstream. Use gva_t instead of unsigned int for eaddr in deliver_tlb_miss(). Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de> [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--arch/powerpc/kvm/e500_tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/e500_tlb.c b/arch/powerpc/kvm/e500_tlb.c
index 13c432ea2fa8..844fc832f3ec 100644
--- a/arch/powerpc/kvm/e500_tlb.c
+++ b/arch/powerpc/kvm/e500_tlb.c
@@ -481,7 +481,7 @@ static inline void kvmppc_e500_priv_release(struct tlbe_priv *priv)
}
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, pidsel, tsized;