]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - init/main.c
cpumask: use set_cpu_active in init/main.c
[linux-2.6-omap-h63xx.git] / init / main.c
index 1ac7ec78e60145bddb3aeed07d831e117eec8ee7..d6b388fbffa679bdb8cce29ddfd9042ca2841032 100644 (file)
@@ -407,8 +407,7 @@ static void __init smp_init(void)
         * Set up the current CPU as possible to migrate to.
         * The other ones will be done by cpu_up/cpu_down()
         */
-       cpu = smp_processor_id();
-       cpu_set(cpu, cpu_active_map);
+       set_cpu_active(smp_processor_id(), true);
 
        /* FIXME: This should be done in userspace --RR */
        for_each_present_cpu(cpu) {