b26e8f2725
Cache flushing functions are in the middle of completely unrelated stuff in mm/mem.c Create a dedicated mm/cacheflush.c for those functions. Also cleanup the list of included headers. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/7bf6f1600acad146e541a4e220940062f2e5b03d.1617895813.git.christophe.leroy@csgroup.eu
23 lines
783 B
Makefile
23 lines
783 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the linux ppc-specific parts of the memory manager.
|
|
#
|
|
|
|
ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
|
|
|
|
obj-y := fault.o mem.o pgtable.o mmap.o maccess.o \
|
|
init_$(BITS).o pgtable_$(BITS).o \
|
|
pgtable-frag.o ioremap.o ioremap_$(BITS).o \
|
|
init-common.o mmu_context.o drmem.o \
|
|
cacheflush.o
|
|
obj-$(CONFIG_PPC_MMU_NOHASH) += nohash/
|
|
obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/
|
|
obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/
|
|
obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
|
|
obj-$(CONFIG_PPC_MM_SLICES) += slice.o
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
|
obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
|
|
obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o
|
|
obj-$(CONFIG_PPC_PTDUMP) += ptdump/
|
|
obj-$(CONFIG_KASAN) += kasan/
|