diff options
Diffstat (limited to 'arch/powerpc/kernel/crash.c')
| -rw-r--r-- | arch/powerpc/kernel/crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c index 21f2c781ded1..4e6ee944495a 100644 --- a/arch/powerpc/kernel/crash.c +++ b/arch/powerpc/kernel/crash.c | |||
| @@ -236,7 +236,7 @@ static void crash_kexec_wait_realmode(int cpu) | |||
| 236 | int i; | 236 | int i; |
| 237 | 237 | ||
| 238 | msecs = 10000; | 238 | msecs = 10000; |
| 239 | for (i=0; i < NR_CPUS && msecs > 0; i++) { | 239 | for (i=0; i < nr_cpu_ids && msecs > 0; i++) { |
| 240 | if (i == cpu) | 240 | if (i == cpu) |
| 241 | continue; | 241 | continue; |
| 242 | 242 | ||
