From: Martin Schwidefsky Date: Wed, 15 May 2013 14:53:07 +0000 (+0200) Subject: s390/smp: fix cpu re-scan vs. cpu state X-Git-Tag: v3.10-rc3~36^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4eeea4e530fee26918529eb1b36ae306095eef5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed