X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Farm%2Fkernel%2Fsmp.c;fp=arch%2Farm%2Fkernel%2Fsmp.c;h=02aa300c46337fede228bf70d302433f4a12c548;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=68e9634d260a74c8a1d21d93db7a2421fa376859;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 68e9634d2..02aa300c4 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -7,6 +7,7 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ +#include #include #include #include @@ -336,6 +337,9 @@ 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)