diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/init/main.c b/init/main.c index df982ff5d2b0..0e22f40487bb 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -384,11 +384,6 @@ static void __init setup_per_cpu_areas(void) | |||
384 | static void __init smp_init(void) | 384 | static void __init smp_init(void) |
385 | { | 385 | { |
386 | unsigned int cpu; | 386 | unsigned int cpu; |
387 | unsigned highest = 0; | ||
388 | |||
389 | for_each_cpu_mask(cpu, cpu_possible_map) | ||
390 | highest = cpu; | ||
391 | nr_cpu_ids = highest + 1; | ||
392 | 387 | ||
393 | /* FIXME: This should be done in userspace --RR */ | 388 | /* FIXME: This should be done in userspace --RR */ |
394 | for_each_present_cpu(cpu) { | 389 | for_each_present_cpu(cpu) { |