KVM: Make KVM_HPAGES_PER_HPAGE unsigned long to avoid build error on powerpc
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 17 Jun 2009 05:04:19 +0000 (15:04 +1000)
committerAvi Kivity <avi@redhat.com>
Wed, 5 Aug 2009 11:51:33 +0000 (14:51 +0300)
commitc428dcc9b9f967945992a2f8529e8c50a31d7913
tree245a7670eaeb9483b2881b4d4e54713c5f501f2d
parent5116d8f6b977970ebefc1932c0f313163a6ec91f
KVM: Make KVM_HPAGES_PER_HPAGE unsigned long to avoid build error on powerpc

Eliminates this compiler warning:

arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:1178: error: integer overflow in expression

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_host.h