From: Russell King Date: Sat, 25 Mar 2006 21:37:29 +0000 (+0000) Subject: [ARM] SMP: don't set cpu_*_map in smp_prepare_boot_cpu X-Git-Tag: v2.6.17-rc1~661^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=091c539f08a6700e0cca8cd620c3d72dd9f9e2bb;p=linux-2.6-omap-h63xx.git [ARM] SMP: don't set cpu_*_map in smp_prepare_boot_cpu 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 --- diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 02aa300c463..1370d726dc1 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -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)