Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Matt Evans b636f1379e 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>
2010-06-15 15:02:33 +10:00
..
2007-05-11 05:38:25 -04:00
2010-03-05 03:04:08 -06:00
2010-05-05 09:11:10 -04:00
2010-05-17 12:18:52 +03:00
2010-03-09 11:52:52 +11:00
2009-07-12 12:22:34 -07:00
2010-03-12 15:52:32 -08:00
2007-10-11 14:36:47 +10:00
2010-05-31 10:01:50 +10:00