]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6dac441d10f69539246a060d758ff8abfa43b3ac
tree1bfe4bdf8cbad3938e2cd8b76eac10c8023ba04d
parent0b28b60b3588fb41ec561ac468f1caab02b885e8
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