s390x/cpu: Tolerate max_cpus
commit25637d31f2d76f61c078b151ab7912e8d2246b9e
authorMatthew Rosato <mjrosato@linux.vnet.ibm.com>
Fri, 4 Mar 2016 17:34:32 +0000 (4 12:34 -0500)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 10 Mar 2016 09:37:15 +0000 (10 10:37 +0100)
tree823476111036b71b9c0e140cbef03861c97587ac
parentc6644fc88bed1176f67b4b7a9df691bcf25c0c5b
s390x/cpu: Tolerate max_cpus

Once hotplug is enabled, interrupts may come in for CPUs
with an address > smp_cpus.  Allocate for this and allow
search routines to look beyond smp_cpus.

Signed-off-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Message-Id: <1457112875-5209-5-git-send-email-mjrosato@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio.c