s390/smp: fix cpu re-scan vs. cpu state
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 15 May 2013 14:53:07 +0000 (16:53 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 17 May 2013 09:47:01 +0000 (11:47 +0200)
The cpu-info array starts with a list of cpus in configured state,
followed by the cpus in standby state. The comparison to decide which
state a cpu has is incorrect, this causes configured cpus appear as
standby cpus. The correct comparison is the index of the new cpu in
the cpu-info array vs. the number of configured cpus.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found