summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMatt Evans2010-06-07 23:38:18 +0200
committerBenjamin Herrenschmidt2010-06-15 07:02:33 +0200
commitb636f1379eefe6eba931deaa386605bc7ac623e7 (patch)
tree482289c45853b5f86f264dd8f98b0f70c94fa4d5 /fs
parentpowerpc: Disable CONFIG_SYSFS_DEPRECATED (diff)
downloadkernel-qcow2-linux-b636f1379eefe6eba931deaa386605bc7ac623e7.tar.gz
kernel-qcow2-linux-b636f1379eefe6eba931deaa386605bc7ac623e7.tar.xz
kernel-qcow2-linux-b636f1379eefe6eba931deaa386605bc7ac623e7.zip
powerpc/kexec: Wait for online/possible CPUs only.
kexec_perpare_cpus_wait() iterates i through NR_CPUS to check paca[i].kexec_state of each to make sure they have quiesced. However now we have dynamic PACA allocation, paca[NR_CPUS] is not necessarily valid and we overrun the array; spurious "cpu is not possible, ignoring" errors result. This patch iterates for_each_online_cpu so stays within the bounds of paca[] -- and every CPU is now 'possible'. Signed-off-by: Matt Evans <matt@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions