KVM: Use u64 for frame data types
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 1 Jul 2010 14:00:12 +0000 (16:00 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:39:44 +0000 (06:39 +0300)
commit5689cc53fa9d09b5bf41b1b1a7c90bd6c112ab40
tree1bfe4bdf8cbad3938e2cd8b76eac10c8023ba04d
parent828554136bbacae6e39fc31b9cd7e7c660ad7530
KVM: Use u64 for frame data types

For 32bit machines where the physical address width is
larger than the virtual address width the frame number types
in KVM may overflow. Fix this by changing them to u64.

[sfr: fix build on 32-bit ppc]

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/powerpc/kvm/44x_tlb.c
include/linux/kvm_types.h
virt/kvm/iommu.c