1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # SPDX-License-Identifier: GPL-2.0 2 !! 2 # 3 CFLAGS_init.o := -mcmodel=medany !! 3 # Makefile for the Linux/MIPS-specific parts of the memory manager. 4 ifdef CONFIG_RELOCATABLE !! 4 # 5 CFLAGS_init.o += -fno-pie !! 5 6 endif !! 6 obj-y += cache.o 7 !! 7 obj-y += context.o 8 ifdef CONFIG_FTRACE !! 8 obj-y += extable.o 9 CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE) !! 9 obj-y += fault.o 10 CFLAGS_REMOVE_cacheflush.o = $(CC_FLAGS_FTRACE !! 10 obj-y += gup.o 11 endif !! 11 obj-y += init.o 12 !! 12 obj-y += mmap.o 13 KCOV_INSTRUMENT_init.o := n !! 13 obj-y += page.o 14 !! 14 obj-y += page-funcs.o 15 obj-y += init.o !! 15 obj-y += pgtable.o 16 obj-$(CONFIG_MMU) += extable.o fault.o pageatt !! 16 obj-y += tlbex.o 17 obj-y += cacheflush.o !! 17 obj-y += tlbex-fault.o 18 obj-y += context.o !! 18 obj-y += tlb-funcs.o 19 obj-y += pmem.o !! 19 20 !! 20 ifdef CONFIG_CPU_MICROMIPS 21 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o !! 21 obj-y += uasm-micromips.o 22 obj-$(CONFIG_PTDUMP_CORE) += ptdump.o !! 22 else 23 obj-$(CONFIG_KASAN) += kasan_init.o !! 23 obj-y += uasm-mips.o 24 << 25 ifdef CONFIG_KASAN << 26 KASAN_SANITIZE_kasan_init.o := n << 27 KASAN_SANITIZE_init.o := n << 28 ifdef CONFIG_DEBUG_VIRTUAL << 29 KASAN_SANITIZE_physaddr.o := n << 30 endif << 31 endif 24 endif 32 25 33 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o !! 26 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o 34 obj-$(CONFIG_RISCV_DMA_NONCOHERENT) += dma-non !! 27 obj-$(CONFIG_64BIT) += pgtable-64.o 35 obj-$(CONFIG_RISCV_NONSTANDARD_CACHE_OPS) += c !! 28 obj-$(CONFIG_HIGHMEM) += highmem.o >> 29 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o >> 30 obj-$(CONFIG_DMA_NONCOHERENT) += dma-noncoherent.o >> 31 >> 32 obj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o >> 33 obj-$(CONFIG_CPU_R3000) += c-r3k.o tlb-r3k.o >> 34 obj-$(CONFIG_CPU_R8000) += c-r4k.o cex-gen.o tlb-r8k.o >> 35 obj-$(CONFIG_CPU_SB1) += c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o >> 36 obj-$(CONFIG_CPU_TX39XX) += c-tx39.o tlb-r3k.o >> 37 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o >> 38 >> 39 obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o >> 40 obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o >> 41 obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o >> 42 obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o >> 43 obj-$(CONFIG_SCACHE_DEBUGFS) += sc-debugfs.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.