KVM: s390: fix memsize >= 4G
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 21 Sep 2009 08:45:18 +0000 (10:45 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 4 Oct 2009 11:57:23 +0000 (13:57 +0200)
commit8feda6f786fc44f5f8b5cf88e3b6c03514f5be93
tree9d0f7e0c0373f257c822df9e3193a84cb941a752
parent20824f30bb0b8ae0a4099895fd4509f54cf2e1e2
KVM: s390: fix memsize >= 4G

commit 628eb9b8a8f3
    KVM: s390: streamline memslot handling

introduced kvm_s390_vcpu_get_memsize. This broke guests >=4G, since this
function returned an int.

This patch changes the return value to a long.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/kvm-s390.h