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 \ 9 init_$(BITS).o pgtable_$(BITS).o \ 10 init-common.o mmu_context.o drmem.o 11obj-$(CONFIG_PPC_MMU_NOHASH) += mmu_context_nohash.o tlb_nohash.o \ 12 tlb_nohash_low.o 13obj-$(CONFIG_PPC_BOOK3E) += tlb_low_$(BITS)e.o 14obj-$(CONFIG_PPC_BOOK3E_64) += pgtable-book3e.o 15obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/ 16obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/ 17obj-$(CONFIG_PPC_BOOK3S_64) += pgtable-frag.o 18obj-$(CONFIG_PPC32) += pgtable-frag.o 19obj-$(CONFIG_40x) += 40x_mmu.o 20obj-$(CONFIG_44x) += 44x_mmu.o 21obj-$(CONFIG_PPC_8xx) += 8xx_mmu.o 22obj-$(CONFIG_PPC_FSL_BOOK3E) += fsl_booke_mmu.o 23obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o 24obj-$(CONFIG_PPC_MM_SLICES) += slice.o 25obj-y += hugetlbpage.o 26ifdef CONFIG_HUGETLB_PAGE 27obj-$(CONFIG_PPC_BOOK3E_MMU) += hugetlbpage-book3e.o 28endif 29obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o 30obj-$(CONFIG_HIGHMEM) += highmem.o 31obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o 32obj-$(CONFIG_PPC_PTDUMP) += ptdump/ 33 34# Disable kcov instrumentation on sensitive code 35# This is necessary for booting with kcov enabled on book3e machines 36KCOV_INSTRUMENT_tlb_nohash.o := n 37KCOV_INSTRUMENT_fsl_booke_mmu.o := n 38