s390x: get rid of cpu_states and use possible_cpus instead
commit2b44178d87f380eb0ca23ea93dda2146ea2e3fd0
authorDavid Hildenbrand <david@redhat.com>
Wed, 13 Sep 2017 13:24:14 +0000 (13 15:24 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 19 Sep 2017 16:31:32 +0000 (19 18:31 +0200)
tree2c234decc87ab0a8f06b59f9b76e63a512a3197e
parent4dc3b151882fe56f2917a3533d1bceb9fa9ded60
s390x: get rid of cpu_states and use possible_cpus instead

Now that we have possible_cpus, we can get rid of the global variable
and rewrite s390_cpu_addr2state() to use it.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170913132417.24384-20-david@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-virtio-ccw.c