]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm64/kernel/smp.c
arm64: mm: kill mm_cpumask usage
[karo-tx-linux.git] / arch / arm64 / kernel / smp.c
index fdd4d4dbd64f68b7176018df1f14213db42e4006..03b0aa28ea61d43095f1f091570bed8e5e533929 100644 (file)
@@ -142,7 +142,6 @@ asmlinkage void secondary_start_kernel(void)
         */
        atomic_inc(&mm->mm_count);
        current->active_mm = mm;
-       cpumask_set_cpu(cpu, mm_cpumask(mm));
 
        set_my_cpu_offset(per_cpu_offset(smp_processor_id()));
        printk("CPU%u: Booted secondary processor\n", cpu);
@@ -233,12 +232,6 @@ int __cpu_disable(void)
         * OK - migrate IRQs away from this CPU
         */
        migrate_irqs();
-
-       /*
-        * Remove this CPU from the vm mask set of all processes.
-        */
-       clear_tasks_mm_cpumask(cpu);
-
        return 0;
 }