summaryrefslogtreecommitdiff
path: root/drivers/s390/block
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-05-15 16:53:07 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-05-17 11:47:01 +0200
commita4eeea4e530fee26918529eb1b36ae306095eef5 (patch)
tree1262131d9ea966b683563e4ac4d30b7ab43c7739 /drivers/s390/block
parentba54229db65b161d46df449638a1a386444681b0 (diff)
downloadlinux-3.10-a4eeea4e530fee26918529eb1b36ae306095eef5.tar.gz
linux-3.10-a4eeea4e530fee26918529eb1b36ae306095eef5.tar.bz2
linux-3.10-a4eeea4e530fee26918529eb1b36ae306095eef5.zip
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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block')
0 files changed, 0 insertions, 0 deletions