Skip to content
Commit a4eeea4e authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/smp: fix cpu re-scan vs. cpu state



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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent ba54229d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment