s390x/kvm: Fix compile error
commitdc622deb2d49aac6afa485f9025be8fed440ef3d
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 26 Nov 2014 10:07:24 +0000 (26 11:07 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Nov 2014 11:11:27 +0000 (26 12:11 +0100)
tree98c177d2d960fb0c8fd41d3cb9b0503f856d15a1
parentf3b3766899fc0a79a175a5d29d0ff427327cd34a
s390x/kvm: Fix compile error

commit a2b257d6212a "memory: expose alignment used for allocating RAM
as MemoryRegion API" triggered a compile error on KVM/s390x.

Fix the prototype and the implementation of legacy_s390_alloc.

Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-s390x/kvm.c