diff options
Diffstat (limited to 'arch/sh/kernel/setup.c')
| -rw-r--r-- | arch/sh/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 7ee4ca203616..bb229ef030f3 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
| @@ -401,7 +401,7 @@ static int __init topology_init(void) | |||
| 401 | { | 401 | { |
| 402 | int cpu_id; | 402 | int cpu_id; |
| 403 | 403 | ||
| 404 | for_each_cpu(cpu_id) | 404 | for_each_possible_cpu(cpu_id) |
| 405 | register_cpu(&cpu[cpu_id], cpu_id, NULL); | 405 | register_cpu(&cpu[cpu_id], cpu_id, NULL); |
| 406 | 406 | ||
| 407 | return 0; | 407 | return 0; |
