projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: core
[linux-2.6-block.git]
/
kernel
/
kexec.c
diff --git
a/kernel/kexec.c
b/kernel/kexec.c
index ac0fde7b54d082ee9ee327a0e57a7664f5cb72e7..3fb855ad6aa07fb5e03281aab28a1d163fb7686d 100644
(file)
--- a/
kernel/kexec.c
+++ b/
kernel/kexec.c
@@
-1116,7
+1116,7
@@
void crash_save_cpu(struct pt_regs *regs, int cpu)
struct elf_prstatus prstatus;
u32 *buf;
- if ((cpu < 0) || (cpu >=
NR_CPUS
))
+ if ((cpu < 0) || (cpu >=
nr_cpu_ids
))
return;
/* Using ELF notes here is opportunistic.