mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 16:46:41 +07:00
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
Block a user