mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
359ae00d12
During ftrace init, linux will replace all function prologues (call_mcout) with nops, but it need flush_dcache and invalidate_icache to make it work. So flush_cache functions couldn't be nested called by ftrace framework. Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
20 lines
447 B
Makefile
20 lines
447 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
ifeq ($(CONFIG_CPU_HAS_CACHEV2),y)
|
|
obj-y += cachev2.o
|
|
CFLAGS_REMOVE_cachev2.o = $(CC_FLAGS_FTRACE)
|
|
else
|
|
obj-y += cachev1.o
|
|
CFLAGS_REMOVE_cachev1.o = $(CC_FLAGS_FTRACE)
|
|
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
|
|
obj-$(CONFIG_HAVE_TCM) += tcm.o
|