KVM: PPC: e500: fix couple of shift operations on 64 bits
authorTudor Laurentiu <b10716@freescale.com>
Thu, 1 Oct 2015 12:58:03 +0000 (15:58 +0300)
committerPaul Mackerras <paulus@samba.org>
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 <Laurentiu.Tudor@freescale.com>
Suggested-by: Scott Wood <scotttwood@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kvm/e500_mmu_host.c