summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/mmu_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/include/asm/mmu_context.h')
-rw-r--r--arch/csky/include/asm/mmu_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/csky/include/asm/mmu_context.h b/arch/csky/include/asm/mmu_context.h
index 3767dbffd02f..594167bbdc63 100644
--- a/arch/csky/include/asm/mmu_context.h
+++ b/arch/csky/include/asm/mmu_context.h
@@ -30,8 +30,7 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next,
if (prev != next)
check_and_switch_context(next, cpu);
- setup_pgd(next->pgd);
- write_mmu_entryhi(next->context.asid.counter);
+ setup_pgd(next->pgd, next->context.asid.counter);
flush_icache_deferred(next);
}