diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 11:13:58 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 11:13:58 +0200 |
commit | 82606d5738f29d3026159ebabba687facd25276e (patch) | |
tree | 2bd427cba366ad54090995349863ea96a4ac8122 /arch | |
parent | 359fd6de61fc8777316709fb79047c480b3eae0d (diff) | |
download | blackbird-op-linux-82606d5738f29d3026159ebabba687facd25276e.tar.gz blackbird-op-linux-82606d5738f29d3026159ebabba687facd25276e.zip |
i386: prepare shared mm/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/mm/Makefile | 15 | ||||
-rw-r--r-- | arch/i386/mm/Makefile_32 | 10 |
2 files changed, 15 insertions, 10 deletions
diff --git a/arch/i386/mm/Makefile b/arch/i386/mm/Makefile index 362b4ad082de..4042f8563a16 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 diff --git a/arch/i386/mm/Makefile_32 b/arch/i386/mm/Makefile_32 new file mode 100644 index 000000000000..362b4ad082de --- /dev/null +++ b/arch/i386/mm/Makefile_32 @@ -0,0 +1,10 @@ +# +# 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 |