summaryrefslogtreecommitdiffstats
path: root/arch/csky/mm/Makefile
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-06-18 14:33:32 +0200
committerGuo Ren <ren_guo@c-sky.com>2019-07-19 08:21:36 +0200
commit22d55f02b8922a097cd4be1e2f131dfa7ef65901 (patch)
treee8e0c0f8c5071343902090aa225fb92bd5747536 /arch/csky/mm/Makefile
parentcsky: Add new asid lib code from arm (diff)
downloadlinux-22d55f02b8922a097cd4be1e2f131dfa7ef65901.tar.xz
linux-22d55f02b8922a097cd4be1e2f131dfa7ef65901.zip
csky: Use generic asid algorithm to implement switch_mm
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 <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/mm/Makefile')
-rw-r--r--arch/csky/mm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/mm/Makefile b/arch/csky/mm/Makefile
index d3d564e5da61..c94ef6481098 100644
--- a/arch/csky/mm/Makefile
+++ b/arch/csky/mm/Makefile
@@ -13,3 +13,4 @@ obj-y += ioremap.o
obj-y += syscache.o
obj-y += tlb.o
obj-y += asid.o
+obj-y += context.o