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