1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux ppc-specific parts of the memory manager.
4#
5
6ccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
7
8obj-y				:= fault.o mem.o pgtable.o mmap.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 \
12				   cacheflush.o
13obj-$(CONFIG_PPC_MMU_NOHASH)	+= nohash/
14obj-$(CONFIG_PPC_BOOK3S_32)	+= book3s32/
15obj-$(CONFIG_PPC_BOOK3S_64)	+= book3s64/
16obj-$(CONFIG_NUMA) += numa.o
17obj-$(CONFIG_PPC_MM_SLICES)	+= slice.o
18obj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
19obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
20obj-$(CONFIG_PPC_COPRO_BASE)	+= copro_fault.o
21obj-$(CONFIG_PTDUMP_CORE)	+= ptdump/
22obj-$(CONFIG_KASAN)		+= kasan/
23