diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 11:16:20 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 11:16:20 +0200 |
commit | af49d41e8c0e6649b3966470aa6319585144f8e8 (patch) | |
tree | 248551df2fd8c551831b63d43281c7c439b93070 /arch | |
parent | 9c89b008ca6ec2c1b75b1e9c698a0cc4dcbf5e4e (diff) |
x86_64: 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/x86_64/mm/Makefile | 16 | ||||
-rw-r--r-- | arch/x86_64/mm/Makefile_64 | 11 |
2 files changed, 16 insertions, 11 deletions
diff --git a/arch/x86_64/mm/Makefile b/arch/x86_64/mm/Makefile index 2e209885fce6..4042f8563a16 100644 --- a/arch/x86_64/mm/Makefile +++ b/arch/x86_64/mm/Makefile @@ -1,11 +1,5 @@ -# -# Makefile for the linux x86_64-specific parts of the memory manager. -# - -obj-y := init_64.o fault_64.o ioremap_64.o extable_64.o pageattr_64.o mmap_64.o -obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o -obj-$(CONFIG_NUMA) += numa_64.o -obj-$(CONFIG_K8_NUMA) += k8topology_64.o -obj-$(CONFIG_ACPI_NUMA) += srat_64.o - -hugetlbpage-y = ../../i386/mm/hugetlbpage.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/x86_64/mm/Makefile_64 b/arch/x86_64/mm/Makefile_64 new file mode 100644 index 000000000000..2e209885fce6 --- /dev/null +++ b/arch/x86_64/mm/Makefile_64 @@ -0,0 +1,11 @@ +# +# Makefile for the linux x86_64-specific parts of the memory manager. +# + +obj-y := init_64.o fault_64.o ioremap_64.o extable_64.o pageattr_64.o mmap_64.o +obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o +obj-$(CONFIG_NUMA) += numa_64.o +obj-$(CONFIG_K8_NUMA) += k8topology_64.o +obj-$(CONFIG_ACPI_NUMA) += srat_64.o + +hugetlbpage-y = ../../i386/mm/hugetlbpage.o |