mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
cce3644417
commit
79af2187fa
|
@ -279,7 +279,7 @@ int init_new_context(struct task_struct *tsk, struct mm_struct *mm)
|
||||||
if (!mm->context.cop_lockp) {
|
if (!mm->context.cop_lockp) {
|
||||||
__destroy_context(index);
|
__destroy_context(index);
|
||||||
subpage_prot_free(mm);
|
subpage_prot_free(mm);
|
||||||
mm->context.id = NO_CONTEXT;
|
mm->context.id = MMU_NO_CONTEXT;
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
spin_lock_init(mm->context.cop_lockp);
|
spin_lock_init(mm->context.cop_lockp);
|
||||||
|
|
Loading…
Reference in New Issue