linux-kernel-test/arch/csky/mm/Makefile
Guo Ren 22d55f02b8 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>
2019-07-19 14:21:36 +08:00

17 lines
325 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_CPU_HAS_CACHEV2),y)
obj-y += cachev2.o
else
obj-y += cachev1.o
endif
obj-y += dma-mapping.o
obj-y += fault.o
obj-$(CONFIG_HIGHMEM) += highmem.o
obj-y += init.o
obj-y += ioremap.o
obj-y += syscache.o
obj-y += tlb.o
obj-y += asid.o
obj-y += context.o