mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 06:16:43 +07:00
c78095bd8c
This code is used in other places in our system than in Linux, so to share it we now implement it as an inline function in our low-level <arch> headers, and instantiate it in one file in Linux's arch/tile/lib. The file is now cacheflush.c and is C code rather than the strangely-named and assembler-implemented __invalidate_icache.S. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
17 lines
421 B
Makefile
17 lines
421 B
Makefile
#
|
|
# Makefile for TILE-specific library files..
|
|
#
|
|
|
|
lib-y = cacheflush.o checksum.o cpumask.o delay.o \
|
|
mb_incoherent.o uaccess.o \
|
|
memcpy_$(BITS).o memchr_$(BITS).o memmove_$(BITS).o memset_$(BITS).o \
|
|
strchr_$(BITS).o strlen_$(BITS).o
|
|
|
|
ifneq ($(CONFIG_TILEGX),y)
|
|
lib-y += atomic_32.o atomic_asm_32.o memcpy_tile64.o
|
|
endif
|
|
|
|
lib-$(CONFIG_SMP) += spinlock_$(BITS).o usercopy_$(BITS).o
|
|
|
|
obj-$(CONFIG_MODULES) += exports.o
|