Skip to content
Commit c428dcc9 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Avi Kivity
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 5116d8f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment