tree-wide: Assorted spelling fixes
[firefly-linux-kernel-4.4.55.git] / arch / cris / arch-v32 / mm / tlb.c
index 55ade36fe8a8b187cca9edfa4939da2ae6dab7ee..c030d020660aaac3edaa0eae7d639a2e8dfcd02b 100644 (file)
@@ -185,11 +185,11 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next,
                /* Make sure there is a MMU context. */
                spin_lock(&mmu_context_lock);
                get_mmu_context(next);
-               cpu_set(cpu, next->cpu_vm_mask);
+               cpumask_set_cpu(cpu, mm_cpumask(next));
                spin_unlock(&mmu_context_lock);
 
                /*
-                * Remember the pgd for the fault handlers. Keep a seperate
+                * Remember the pgd for the fault handlers. Keep a separate
                 * copy of it because current and active_mm might be invalid
                 * at points where * there's still a need to derefer the pgd.
                 */