Makefile (1408fca0c198471a5cd089742b9d3f9739073483) Makefile (f693d38d9468101587175b1e62d7e4483b51d8f5)
1# SPDX-License-Identifier: GPL-2.0
2
3ccflags-y := $(NO_MINIMAL_TOC)
4
5obj-y += mmu_context.o pgtable.o trace.o
6ifdef CONFIG_PPC_64S_HASH_MMU
7CFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE)
1# SPDX-License-Identifier: GPL-2.0
2
3ccflags-y := $(NO_MINIMAL_TOC)
4
5obj-y += mmu_context.o pgtable.o trace.o
6ifdef CONFIG_PPC_64S_HASH_MMU
7CFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE)
8obj-y += hash_pgtable.o hash_utils.o hash_tlb.o slb.o
8obj-y += hash_pgtable.o hash_utils.o hash_tlb.o slb.o slice.o
9obj-$(CONFIG_PPC_HASH_MMU_NATIVE) += hash_native.o
10obj-$(CONFIG_PPC_4K_PAGES) += hash_4k.o
11obj-$(CONFIG_PPC_64K_PAGES) += hash_64k.o
12obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hash_hugepage.o
13obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage_prot.o
14endif
15
16obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
17
18obj-$(CONFIG_PPC_RADIX_MMU) += radix_pgtable.o radix_tlb.o
19ifdef CONFIG_HUGETLB_PAGE
20obj-$(CONFIG_PPC_RADIX_MMU) += radix_hugetlbpage.o
21endif
22obj-$(CONFIG_SPAPR_TCE_IOMMU) += iommu_api.o
23obj-$(CONFIG_PPC_PKEY) += pkeys.o
9obj-$(CONFIG_PPC_HASH_MMU_NATIVE) += hash_native.o
10obj-$(CONFIG_PPC_4K_PAGES) += hash_4k.o
11obj-$(CONFIG_PPC_64K_PAGES) += hash_64k.o
12obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hash_hugepage.o
13obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage_prot.o
14endif
15
16obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
17
18obj-$(CONFIG_PPC_RADIX_MMU) += radix_pgtable.o radix_tlb.o
19ifdef CONFIG_HUGETLB_PAGE
20obj-$(CONFIG_PPC_RADIX_MMU) += radix_hugetlbpage.o
21endif
22obj-$(CONFIG_SPAPR_TCE_IOMMU) += iommu_api.o
23obj-$(CONFIG_PPC_PKEY) += pkeys.o
24obj-$(CONFIG_PPC_MM_SLICES) += slice.o
25
26# Instrumenting the SLB fault path can lead to duplicate SLB entries
27KCOV_INSTRUMENT_slb.o := n
24
25# Instrumenting the SLB fault path can lead to duplicate SLB entries
26KCOV_INSTRUMENT_slb.o := n