summaryrefslogtreecommitdiff
path: root/arch/mips/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/mm/context.c b/arch/mips/mm/context.c
index 4dd976acf41d..dcaceee179f7 100644
--- a/arch/mips/mm/context.c
+++ b/arch/mips/mm/context.c
@@ -15,7 +15,8 @@ void get_new_mmu_context(struct mm_struct *mm)
local_flush_tlb_all(); /* start new asid cycle */
}
- cpu_context(cpu, mm) = asid_cache(cpu) = asid;
+ set_cpu_context(cpu, mm, asid);
+ asid_cache(cpu) = asid;
}
void check_mmu_context(struct mm_struct *mm)