powerpc/kdump64: Don't reference freed memory as pacas
[deliverable/linux.git] / arch / powerpc / kernel / crash.c
index 21f2c781ded102506daac960019710d9a30dcf75..4e6ee944495a302b668362c7e958a642c60a8b8b 100644 (file)
@@ -236,7 +236,7 @@ static void crash_kexec_wait_realmode(int cpu)
        int i;
 
        msecs = 10000;
-       for (i=0; i < NR_CPUS && msecs > 0; i++) {
+       for (i=0; i < nr_cpu_ids && msecs > 0; i++) {
                if (i == cpu)
                        continue;
 
This page took 0.043 seconds and 5 git commands to generate.