diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-04-17 11:40:45 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:45 -0400 |
commit | 2596e0fae094be9354b29ddb17e6326a18012e8c (patch) | |
tree | baab7005e3734af7cb59fdb9b1f2f5f3ff9b254a /arch/x86/mm/Makefile | |
parent | ee7ae7a1981caaa4a5b14d8c75692a9dccd52105 (diff) |
x86: unify arch/x86/mm/Makefile
Unify arch/x86/mm/Makefile between 32 and 64 bits.
All configuration variables that are protected by Kconfig constraints
have been put in the common part of the Makefile; however, the NUMA
files are totally different between 32 and 64 bits and are handled via
an ifdef.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/mm/Makefile')
-rw-r--r-- | arch/x86/mm/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/x86/mm/Makefile b/arch/x86/mm/Makefile index 983291096848..8e81660604bc 100644 --- a/arch/x86/mm/Makefile +++ b/arch/x86/mm/Makefile | |||
@@ -1,5 +1,15 @@ | |||
1 | obj-y := init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o | ||
2 | |||
3 | obj-$(CONFIG_X86_32) += pgtable_32.o | ||
4 | |||
5 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | ||
6 | |||
7 | obj-$(CONFIG_HIGHMEM) += highmem_32.o | ||
8 | |||
1 | ifeq ($(CONFIG_X86_32),y) | 9 | ifeq ($(CONFIG_X86_32),y) |
2 | include ${srctree}/arch/x86/mm/Makefile_32 | 10 | obj-$(CONFIG_NUMA) += discontig_32.o |
3 | else | 11 | else |
4 | include ${srctree}/arch/x86/mm/Makefile_64 | 12 | obj-$(CONFIG_NUMA) += numa_64.o |
13 | obj-$(CONFIG_K8_NUMA) += k8topology_64.o | ||
14 | obj-$(CONFIG_ACPI_NUMA) += srat_64.o | ||
5 | endif | 15 | endif |