OSDN Git Service

s390x/sclp: fixup highest CPU address
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 19 Dec 2017 08:28:07 +0000 (09:28 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 22 Jan 2018 10:04:52 +0000 (11:04 +0100)
commite2d9f902378cc0b8de9bacfc9406e6c63bc236d7
tree89c430b420a5a33690cee45a59d8aebc3196de15
parentb384cd95eb9c6f73ad84ed1bb0717a26e29cc78f
s390x/sclp: fixup highest CPU address

The highest cpu address is not the same as max_cpus. max_cpus
counts from 1 while the cpu address starts at 0.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Message-Id: <20171219082807.84494-1-borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/sclp.c