Skip to content

Commit

Permalink
[ARM] SMP: don't set cpu_*_map in smp_prepare_boot_cpu
Browse files Browse the repository at this point in the history
The recent addition of boot_cpu_init() implements the initialisation
of the online, present and possible cpu maps for the boot CPU, so
there is no reason to duplicate this in the architecture
smp_prepare_boot_cpu() hook.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Mar 25, 2006
1 parent 686f8c5 commit 091c539
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,6 @@ void __init smp_prepare_boot_cpu(void)
unsigned int cpu = smp_processor_id();

per_cpu(cpu_data, cpu).idle = current;

cpu_set(cpu, cpu_present_map);
cpu_set(cpu, cpu_online_map);
}

static void send_ipi_message(cpumask_t callmap, enum ipi_msg_type msg)
Expand Down

0 comments on commit 091c539

Please sign in to comment.