xref: /linux/arch/x86/mm/Makefile (revision e1a58320a38dfa72be48a0f1a3a92273663ba6db)
1e5b2bb55SPekka Enbergobj-y	:=  init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
2c44c9ec0SJeremy Fitzhardinge	    pat.o pgtable.o physaddr.o gup.o setup_nx.o
32596e0faSH. Peter Anvin
4577eebeaSJeremy Fitzhardinge# Make sure __phys_addr has no stackprotector
5577eebeaSJeremy Fitzhardingenostackp := $(call cc-option, -fno-stack-protector)
678c86e5eSJeremy FitzhardingeCFLAGS_physaddr.o		:= $(nostackp)
7c44c9ec0SJeremy FitzhardingeCFLAGS_setup_nx.o		:= $(nostackp)
8577eebeaSJeremy Fitzhardinge
9d34603b0SSeiji AguchiCFLAGS_fault.o := -I$(src)/../include/asm/trace
10d34603b0SSeiji Aguchi
119e41a49aSPallipadi, Venkateshobj-$(CONFIG_X86_PAT)		+= pat_rbtree.o
123e5095d1SIngo Molnarobj-$(CONFIG_SMP)		+= tlb.o
1355f4949fSIngo Molnar
14fd940934SKeith Packardobj-$(CONFIG_X86_32)		+= pgtable_32.o iomap_32.o
152596e0faSH. Peter Anvin
162596e0faSH. Peter Anvinobj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
17*e1a58320SStephen Smalleyobj-$(CONFIG_X86_PTDUMP_CORE)	+= dump_pagetables.o
182596e0faSH. Peter Anvin
192596e0faSH. Peter Anvinobj-$(CONFIG_HIGHMEM)		+= highmem_32.o
202596e0faSH. Peter Anvin
21dfec072eSVegard Nossumobj-$(CONFIG_KMEMCHECK)		+= kmemcheck/
22dfec072eSVegard Nossum
23ef7f0d6aSAndrey RyabininKASAN_SANITIZE_kasan_init_$(BITS).o := n
24ef7f0d6aSAndrey Ryabininobj-$(CONFIG_KASAN)		+= kasan_init_$(BITS).o
25ef7f0d6aSAndrey Ryabinin
26ff3a3e9bSPekka Paalanenobj-$(CONFIG_MMIOTRACE)		+= mmiotrace.o
27fd3fdf11SPekka Paalanenmmiotrace-y			:= kmmio.o pf_in.o mmio-mod.o
28ff3a3e9bSPekka Paalanenobj-$(CONFIG_MMIOTRACE_TEST)	+= testmmiotrace.o
29ff3a3e9bSPekka Paalanen
3071ee73e7SRusty Russellobj-$(CONFIG_NUMA)		+= numa.o numa_$(BITS).o
31c6f58878STejun Heoobj-$(CONFIG_AMD_NUMA)		+= amdtopology.o
325acd91abSTejun Heoobj-$(CONFIG_ACPI_NUMA)		+= srat.o
33b8ef9172STejun Heoobj-$(CONFIG_NUMA_EMU)		+= numa_emulation.o
346247943dSYinghai Lu
3557319d80SQiaowei Renobj-$(CONFIG_X86_INTEL_MPX)	+= mpx.o
36