mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
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]>
17 lines
325 B
Makefile
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
|