KVM: PPC: e500: fix couple of shift operations on 64 bits
authorTudor Laurentiu <[email protected]>
Thu, 1 Oct 2015 12:58:03 +0000 (15:58 +0300)
committerPaul Mackerras <[email protected]>
Thu, 15 Oct 2015 04:59:19 +0000 (15:59 +1100)
commit224f363246c3668452ec0ab5a0ff51824822f3fd
tree6cc4736cec61a6007fdc9592e72aec513000a334
parent2daab50e17997424af57d1ab14042a51e9a368ab
KVM: PPC: e500: fix couple of shift operations on 64 bits

Fix couple of cases where we shift left a 32-bit
value thus might get truncated results on 64-bit
targets.

Signed-off-by: Laurentiu Tudor <[email protected]>
Suggested-by: Scott Wood <[email protected]>
Acked-by: Scott Wood <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
arch/powerpc/kvm/e500_mmu_host.c