xref: /linux/arch/x86/mm/Makefile (revision 5acd91ab837c9d066af7345aea6462dc55695db7)
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
99e41a49aSPallipadi, Venkateshobj-$(CONFIG_X86_PAT)		+= pat_rbtree.o
103e5095d1SIngo Molnarobj-$(CONFIG_SMP)		+= tlb.o
1155f4949fSIngo Molnar
12fd940934SKeith Packardobj-$(CONFIG_X86_32)		+= pgtable_32.o iomap_32.o
132596e0faSH. Peter Anvin
142596e0faSH. Peter Anvinobj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
15fe770bf0SH. Peter Anvinobj-$(CONFIG_X86_PTDUMP)	+= dump_pagetables.o
162596e0faSH. Peter Anvin
172596e0faSH. Peter Anvinobj-$(CONFIG_HIGHMEM)		+= highmem_32.o
182596e0faSH. Peter Anvin
19dfec072eSVegard Nossumobj-$(CONFIG_KMEMCHECK)		+= kmemcheck/
20dfec072eSVegard Nossum
21ff3a3e9bSPekka Paalanenobj-$(CONFIG_MMIOTRACE)		+= mmiotrace.o
22fd3fdf11SPekka Paalanenmmiotrace-y			:= kmmio.o pf_in.o mmio-mod.o
23ff3a3e9bSPekka Paalanenobj-$(CONFIG_MMIOTRACE_TEST)	+= testmmiotrace.o
24ff3a3e9bSPekka Paalanen
2571ee73e7SRusty Russellobj-$(CONFIG_NUMA)		+= numa.o numa_$(BITS).o
26eec1d4faSHans Rosenfeldobj-$(CONFIG_AMD_NUMA)		+= amdtopology_64.o
27*5acd91abSTejun Heoobj-$(CONFIG_ACPI_NUMA)		+= srat.o
28b8ef9172STejun Heoobj-$(CONFIG_NUMA_EMU)		+= numa_emulation.o
296247943dSYinghai Lu
30fb74fb6dSYinghai Luobj-$(CONFIG_HAVE_MEMBLOCK)		+= memblock.o
31fb74fb6dSYinghai Lu
321f067167SYinghai Luobj-$(CONFIG_MEMTEST)		+= memtest.o
33