1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the linux ppc-specific parts of the memory manager.
6 ccflags-
$(CONFIG_PPC64
) := $(NO_MINIMAL_TOC
)
8 obj-y
:= fault.o mem.o pgtable.o mmap.o maccess.o \
9 init_
$(BITS
).o pgtable_
$(BITS
).o \
10 pgtable-frag.o ioremap.o ioremap_
$(BITS
).o \
11 init-common.o mmu_context.o drmem.o
12 obj-
$(CONFIG_PPC_MMU_NOHASH
) += nohash
/
13 obj-
$(CONFIG_PPC_BOOK3S_32
) += book3s32
/
14 obj-
$(CONFIG_PPC_BOOK3S_64
) += book3s64
/
15 obj-
$(CONFIG_NEED_MULTIPLE_NODES
) += numa.o
16 obj-
$(CONFIG_PPC_MM_SLICES
) += slice.o
17 obj-
$(CONFIG_HUGETLB_PAGE
) += hugetlbpage.o
18 obj-
$(CONFIG_NOT_COHERENT_CACHE
) += dma-noncoherent.o
19 obj-
$(CONFIG_PPC_COPRO_BASE
) += copro_fault.o
20 obj-
$(CONFIG_PPC_PTDUMP
) += ptdump
/
21 obj-
$(CONFIG_KASAN
) += kasan
/