powerpc/mm: Extend pte_fragment functionality to PPC32
In order to allow the 8xx to handle pte_fragments, this patch extends the use of pte_fragments to PPC32 platforms. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
这个提交包含在:
@@ -385,6 +385,7 @@ int init_new_context(struct task_struct *t, struct mm_struct *mm)
|
||||
#endif
|
||||
mm->context.id = MMU_NO_CONTEXT;
|
||||
mm->context.active = 0;
|
||||
pte_frag_set(&mm->context, NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -487,4 +488,3 @@ void __init mmu_context_init(void)
|
||||
next_context = FIRST_CONTEXT;
|
||||
nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1;
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户