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>

authored by Stephen Rothwell and committed by Avi Kivity c428dcc9 5116d8f6

+1 -1
+1 -1
arch/powerpc/include/asm/kvm_host.h
··· 34 34 #define KVM_COALESCED_MMIO_PAGE_OFFSET 1 35 35 36 36 /* We don't currently support large pages. */ 37 - #define KVM_PAGES_PER_HPAGE (1<<31) 37 + #define KVM_PAGES_PER_HPAGE (1UL << 31) 38 38 39 39 struct kvm; 40 40 struct kvm_run;