aboutsummaryrefslogtreecommitdiff
path: root/arch/csky/mm/context.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-19csky: Use generic asid algorithm to implement switch_mmGuo Ren1-0/+46
Use linux generic asid/vmid algorithm to implement csky switch_mm function. The algorithm is from arm and it could work with SMP system. It'll help reduce tlb flush for switch_mm in task/vm switch. Signed-off-by: Guo Ren <[email protected]> Cc: Arnd Bergmann <[email protected]>