projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48eaef0
)
KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()
author
Mihai Caraman
<mihai.caraman@freescale.com>
Thu, 9 Jan 2014 15:01:05 +0000
(17:01 +0200)
committer
Alexander Graf
<agraf@suse.de>
Mon, 27 Jan 2014 15:00:54 +0000
(16:00 +0100)
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>
arch/powerpc/kvm/e500_mmu.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/e500_mmu.c
b/arch/powerpc/kvm/e500_mmu.c
index
ebca6b8
..
50860e9
100644
(file)
--- a/
arch/powerpc/kvm/e500_mmu.c
+++ b/
arch/powerpc/kvm/e500_mmu.c
@@
-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 in
t eaddr, int as)
+
gva_
t eaddr, int as)
{
struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu);
unsigned int victim, tsized;