git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/kdump64: Don't reference freed memory as pacas
[pandora-kernel.git]
/
arch
/
powerpc
/
kernel
/
crash.c
diff --git
a/arch/powerpc/kernel/crash.c
b/arch/powerpc/kernel/crash.c
index
5b5e1f0
..
c37ff6b
100644
(file)
--- a/
arch/powerpc/kernel/crash.c
+++ b/
arch/powerpc/kernel/crash.c
@@
-170,7
+170,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;