xref: /linux/arch/x86/mm/Makefile (revision c44c9ec0f38b939b3200436e3aa95c1aa83c41c7)
1e5b2bb55SPekka Enbergobj-y	:=  init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
2*c44c9ec0SJeremy 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)
7*c44c9ec0SJeremy FitzhardingeCFLAGS_setup_nx.o		:= $(nostackp)
8577eebeaSJeremy Fitzhardinge
93e5095d1SIngo Molnarobj-$(CONFIG_SMP)		+= tlb.o
1055f4949fSIngo Molnar
11fd940934SKeith Packardobj-$(CONFIG_X86_32)		+= pgtable_32.o iomap_32.o
122596e0faSH. Peter Anvin
132596e0faSH. Peter Anvinobj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
14fe770bf0SH. Peter Anvinobj-$(CONFIG_X86_PTDUMP)	+= dump_pagetables.o
152596e0faSH. Peter Anvin
162596e0faSH. Peter Anvinobj-$(CONFIG_HIGHMEM)		+= highmem_32.o
172596e0faSH. Peter Anvin
18dfec072eSVegard Nossumobj-$(CONFIG_KMEMCHECK)		+= kmemcheck/
19dfec072eSVegard Nossum
20ff3a3e9bSPekka Paalanenobj-$(CONFIG_MMIOTRACE)		+= mmiotrace.o
21fd3fdf11SPekka Paalanenmmiotrace-y			:= kmmio.o pf_in.o mmio-mod.o
22ff3a3e9bSPekka Paalanenobj-$(CONFIG_MMIOTRACE_TEST)	+= testmmiotrace.o
23ff3a3e9bSPekka Paalanen
2471ee73e7SRusty Russellobj-$(CONFIG_NUMA)		+= numa.o numa_$(BITS).o
252596e0faSH. Peter Anvinobj-$(CONFIG_K8_NUMA)		+= k8topology_64.o
266247943dSYinghai Luobj-$(CONFIG_ACPI_NUMA)		+= srat_$(BITS).o
276247943dSYinghai Lu
281f067167SYinghai Luobj-$(CONFIG_MEMTEST)		+= memtest.o
29