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 maccess.o pageattr.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 \
13 obj-$(CONFIG_PPC_MMU_NOHASH) += nohash/
14 obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/
15 obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/
16 obj-$(CONFIG_NUMA) += numa.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_PTDUMP_CORE) += ptdump/
21 obj-$(CONFIG_KASAN) += kasan/