x86: rename discontig_32.c to numa_32.c
[linux-2.6.git] / arch / x86 / mm / Makefile
index 9832910..59f89b4 100644 (file)
@@ -1,5 +1,20 @@
-ifeq ($(CONFIG_X86_32),y)
-include ${srctree}/arch/x86/mm/Makefile_32
-else
-include ${srctree}/arch/x86/mm/Makefile_64
-endif
+obj-y  :=  init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
+           pat.o pgtable.o gup.o
+
+obj-$(CONFIG_X86_32)           += pgtable_32.o
+
+obj-$(CONFIG_HUGETLB_PAGE)     += hugetlbpage.o
+obj-$(CONFIG_X86_PTDUMP)       += dump_pagetables.o
+
+obj-$(CONFIG_HIGHMEM)          += highmem_32.o
+
+obj-$(CONFIG_MMIOTRACE_HOOKS)  += kmmio.o
+obj-$(CONFIG_MMIOTRACE)                += mmiotrace.o
+mmiotrace-y                    := pf_in.o mmio-mod.o
+obj-$(CONFIG_MMIOTRACE_TEST)   += testmmiotrace.o
+
+obj-$(CONFIG_NUMA)             += numa_$(BITS).o
+obj-$(CONFIG_K8_NUMA)          += k8topology_64.o
+obj-$(CONFIG_ACPI_NUMA)                += srat_$(BITS).o
+
+obj-$(CONFIG_MEMTEST)          += memtest.o