|
@@ -397,10 +397,6 @@ static void __init smp_init(void)
|
|
{
|
|
{
|
|
unsigned int cpu;
|
|
unsigned int cpu;
|
|
|
|
|
|
-#ifndef CONFIG_HOTPLUG_CPU
|
|
|
|
- cpu_possible_map = cpu_present_map;
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
/* FIXME: This should be done in userspace --RR */
|
|
/* FIXME: This should be done in userspace --RR */
|
|
for_each_present_cpu(cpu) {
|
|
for_each_present_cpu(cpu) {
|
|
if (num_online_cpus() >= max_cpus)
|
|
if (num_online_cpus() >= max_cpus)
|
|
@@ -545,10 +541,6 @@ asmlinkage void __init start_kernel(void)
|
|
setup_arch(&command_line);
|
|
setup_arch(&command_line);
|
|
setup_command_line(command_line);
|
|
setup_command_line(command_line);
|
|
unwind_setup();
|
|
unwind_setup();
|
|
-#ifndef CONFIG_HOTPLUG_CPU
|
|
|
|
- if (max_cpus < 2)
|
|
|
|
- cpu_possible_map = cpu_online_map;
|
|
|
|
-#endif
|
|
|
|
setup_per_cpu_areas();
|
|
setup_per_cpu_areas();
|
|
smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */
|
|
smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */
|
|
|
|
|