aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/mm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/mm/Makefile')
-rw-r--r--arch/i386/mm/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/i386/mm/Makefile b/arch/i386/mm/Makefile
index 362b4ad082d..4042f8563a1 100644
--- a/arch/i386/mm/Makefile
+++ b/arch/i386/mm/Makefile
@@ -1,10 +1,5 @@
-#
-# Makefile for the linux i386-specific parts of the memory manager.
-#
-
-obj-y := init_32.o pgtable_32.o fault_32.o ioremap_32.o extable_32.o pageattr_32.o mmap_32.o
-
-obj-$(CONFIG_NUMA) += discontig_32.o
-obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
-obj-$(CONFIG_HIGHMEM) += highmem_32.o
-obj-$(CONFIG_BOOT_IOREMAP) += boot_ioremap_32.o
+ifeq ($(CONFIG_X86_32),y)
+include ${srctree}/arch/i386/mm/Makefile_32
+else
+include ${srctree}/arch/x86_64/mm/Makefile_64
+endif