From 95119fbd87aabc263746731462062af5a38c0222 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 11 Oct 2007 11:17:18 +0200 Subject: [PATCH] x86_64: move mm Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- arch/x86/mm/Makefile | 2 +- arch/{x86_64 => x86}/mm/Makefile_64 | 1 - arch/{x86_64 => x86}/mm/extable_64.c | 0 arch/{x86_64 => x86}/mm/fault_64.c | 0 arch/{x86_64 => x86}/mm/init_64.c | 0 arch/{x86_64 => x86}/mm/ioremap_64.c | 0 arch/{x86_64 => x86}/mm/k8topology_64.c | 0 arch/{x86_64 => x86}/mm/mmap_64.c | 0 arch/{x86_64 => x86}/mm/numa_64.c | 0 arch/{x86_64 => x86}/mm/pageattr_64.c | 0 arch/{x86_64 => x86}/mm/srat_64.c | 0 arch/x86_64/Makefile | 2 +- arch/x86_64/mm/Makefile | 5 ----- 13 files changed, 2 insertions(+), 8 deletions(-) rename arch/{x86_64 => x86}/mm/Makefile_64 (87%) rename arch/{x86_64 => x86}/mm/extable_64.c (100%) rename arch/{x86_64 => x86}/mm/fault_64.c (100%) rename arch/{x86_64 => x86}/mm/init_64.c (100%) rename arch/{x86_64 => x86}/mm/ioremap_64.c (100%) rename arch/{x86_64 => x86}/mm/k8topology_64.c (100%) rename arch/{x86_64 => x86}/mm/mmap_64.c (100%) rename arch/{x86_64 => x86}/mm/numa_64.c (100%) rename arch/{x86_64 => x86}/mm/pageattr_64.c (100%) rename arch/{x86_64 => x86}/mm/srat_64.c (100%) delete mode 100644 arch/x86_64/mm/Makefile diff --git a/arch/x86/mm/Makefile b/arch/x86/mm/Makefile index 7317648e65..9832910968 100644 --- a/arch/x86/mm/Makefile +++ b/arch/x86/mm/Makefile @@ -1,5 +1,5 @@ ifeq ($(CONFIG_X86_32),y) include ${srctree}/arch/x86/mm/Makefile_32 else -include ${srctree}/arch/x86_64/mm/Makefile_64 +include ${srctree}/arch/x86/mm/Makefile_64 endif diff --git a/arch/x86_64/mm/Makefile_64 b/arch/x86/mm/Makefile_64 similarity index 87% rename from arch/x86_64/mm/Makefile_64 rename to arch/x86/mm/Makefile_64 index 5c2883cad1..6bcb47945b 100644 --- a/arch/x86_64/mm/Makefile_64 +++ b/arch/x86/mm/Makefile_64 @@ -8,4 +8,3 @@ obj-$(CONFIG_NUMA) += numa_64.o obj-$(CONFIG_K8_NUMA) += k8topology_64.o obj-$(CONFIG_ACPI_NUMA) += srat_64.o -hugetlbpage-y = ../../x86/mm/hugetlbpage.o diff --git a/arch/x86_64/mm/extable_64.c b/arch/x86/mm/extable_64.c similarity index 100% rename from arch/x86_64/mm/extable_64.c rename to arch/x86/mm/extable_64.c diff --git a/arch/x86_64/mm/fault_64.c b/arch/x86/mm/fault_64.c similarity index 100% rename from arch/x86_64/mm/fault_64.c rename to arch/x86/mm/fault_64.c diff --git a/arch/x86_64/mm/init_64.c b/arch/x86/mm/init_64.c similarity index 100% rename from arch/x86_64/mm/init_64.c rename to arch/x86/mm/init_64.c diff --git a/arch/x86_64/mm/ioremap_64.c b/arch/x86/mm/ioremap_64.c similarity index 100% rename from arch/x86_64/mm/ioremap_64.c rename to arch/x86/mm/ioremap_64.c diff --git a/arch/x86_64/mm/k8topology_64.c b/arch/x86/mm/k8topology_64.c similarity index 100% rename from arch/x86_64/mm/k8topology_64.c rename to arch/x86/mm/k8topology_64.c diff --git a/arch/x86_64/mm/mmap_64.c b/arch/x86/mm/mmap_64.c similarity index 100% rename from arch/x86_64/mm/mmap_64.c rename to arch/x86/mm/mmap_64.c diff --git a/arch/x86_64/mm/numa_64.c b/arch/x86/mm/numa_64.c similarity index 100% rename from arch/x86_64/mm/numa_64.c rename to arch/x86/mm/numa_64.c diff --git a/arch/x86_64/mm/pageattr_64.c b/arch/x86/mm/pageattr_64.c similarity index 100% rename from arch/x86_64/mm/pageattr_64.c rename to arch/x86/mm/pageattr_64.c diff --git a/arch/x86_64/mm/srat_64.c b/arch/x86/mm/srat_64.c similarity index 100% rename from arch/x86_64/mm/srat_64.c rename to arch/x86/mm/srat_64.c diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 11ef2c37ba..4208a0ded5 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile @@ -75,7 +75,7 @@ head-y := arch/x86_64/kernel/head_64.o arch/x86_64/kernel/head64.o arch/x86_64/k libs-y += arch/x86/lib/ core-y += arch/x86_64/kernel/ \ - arch/x86_64/mm/ \ + arch/x86/mm/ \ arch/x86/crypto/ \ arch/x86/vdso/ core-$(CONFIG_IA32_EMULATION) += arch/x86_64/ia32/ diff --git a/arch/x86_64/mm/Makefile b/arch/x86_64/mm/Makefile deleted file mode 100644 index 7317648e65..0000000000 --- a/arch/x86_64/mm/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -ifeq ($(CONFIG_X86_32),y) -include ${srctree}/arch/x86/mm/Makefile_32 -else -include ${srctree}/arch/x86_64/mm/Makefile_64 -endif -- 2.39.5