cpu_active_map is deprecated in favor of cpu_active_mask, which is const for safety: we use accessors now (set_cpu_active) is we really want to make a change.
Showing the changes to init (1 of 2 files). Show all
Unified · Split
| @@ -407,8 +407,7 @@ static void __init smp_init(void) · 406 unmodified lines | |||
| 407 | * Set up the current CPU as possible to migrate to. | 407 | * Set up the current CPU as possible to migrate to. |
| 408 | * The other ones will be done by cpu_up/cpu_down() | 408 | * The other ones will be done by cpu_up/cpu_down() |
| 409 | */ | 409 | */ |
| 410 | cpu = smp_processor_id(); | 410 | set_cpu_active(smp_processor_id(), true); |
| 411 | cpu_set(cpu, cpu_active_map); | ||
| 412 | 411 | ||
| 413 | /* FIXME: This should be done in userspace --RR */ | 412 | /* FIXME: This should be done in userspace --RR */ |
| 414 | for_each_present_cpu(cpu) { | 413 | for_each_present_cpu(cpu) { |