Kaynağa Gözat

powerpc: Fix compile with icwsx support

Due to a collision between NO_CONTEXT->MMU_NO_CONTEXT change and
Anton's patch.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Stephen Rothwell 14 yıl önce
ebeveyn
işleme
79af2187fa
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      arch/powerpc/mm/mmu_context_hash64.c

+ 1 - 1
arch/powerpc/mm/mmu_context_hash64.c

@@ -279,7 +279,7 @@ int init_new_context(struct task_struct *tsk, struct mm_struct *mm)
 	if (!mm->context.cop_lockp) {
 		__destroy_context(index);
 		subpage_prot_free(mm);
-		mm->context.id = NO_CONTEXT;
+		mm->context.id = MMU_NO_CONTEXT;
 		return -ENOMEM;
 	}
 	spin_lock_init(mm->context.cop_lockp);