MIPS: Init new mmu_context for each possible CPU to avoid memory corruption
[cascardo/linux.git] / arch / mips / include / asm / mmu_context.h
index e81d719..49d220c 100644 (file)
@@ -133,7 +133,7 @@ init_new_context(struct task_struct *tsk, struct mm_struct *mm)
 {
        int i;
 
-       for_each_online_cpu(i)
+       for_each_possible_cpu(i)
                cpu_context(i, mm) = 0;
 
        return 0;