diff options
-rw-r--r-- | arch/sparc/mm/Makefile | 6 | ||||
-rw-r--r-- | arch/sparc/mm/fault_64.c (renamed from arch/sparc64/mm/fault.c) | 0 | ||||
-rw-r--r-- | arch/sparc/mm/generic_64.c (renamed from arch/sparc64/mm/generic.c) | 0 | ||||
-rw-r--r-- | arch/sparc/mm/hugetlbpage.c (renamed from arch/sparc64/mm/hugetlbpage.c) | 0 | ||||
-rw-r--r-- | arch/sparc/mm/init_64.c (renamed from arch/sparc64/mm/init.c) | 4 | ||||
-rw-r--r-- | arch/sparc/mm/init_64.h (renamed from arch/sparc64/mm/init.h) | 0 | ||||
-rw-r--r-- | arch/sparc/mm/tlb.c (renamed from arch/sparc64/mm/tlb.c) | 0 | ||||
-rw-r--r-- | arch/sparc/mm/tsb.c (renamed from arch/sparc64/mm/tsb.c) | 0 | ||||
-rw-r--r-- | arch/sparc/mm/ultra.S (renamed from arch/sparc64/mm/ultra.S) | 0 | ||||
-rw-r--r-- | arch/sparc64/Makefile | 2 | ||||
-rw-r--r-- | arch/sparc64/mm/Makefile | 9 |
11 files changed, 8 insertions, 13 deletions
diff --git a/arch/sparc/mm/Makefile b/arch/sparc/mm/Makefile index 3ad1b1f9953e..681abe0a4594 100644 --- a/arch/sparc/mm/Makefile +++ b/arch/sparc/mm/Makefile | |||
@@ -4,13 +4,17 @@ | |||
4 | asflags-y := -ansi | 4 | asflags-y := -ansi |
5 | ccflags-y := -Werror | 5 | ccflags-y := -Werror |
6 | 6 | ||
7 | obj-y := fault_$(BITS).o | 7 | obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o |
8 | obj-y += fault_$(BITS).o | ||
8 | obj-y += init_$(BITS).o | 9 | obj-y += init_$(BITS).o |
9 | obj-$(CONFIG_SPARC32) += loadmmu.o | 10 | obj-$(CONFIG_SPARC32) += loadmmu.o |
10 | obj-y += generic_$(BITS).o | 11 | obj-y += generic_$(BITS).o |
11 | obj-$(CONFIG_SPARC32) += extable.o btfixup.o srmmu.o iommu.o io-unit.o | 12 | obj-$(CONFIG_SPARC32) += extable.o btfixup.o srmmu.o iommu.o io-unit.o |
12 | obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o | 13 | obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o |
13 | 14 | ||
15 | # Only used by sparc64 | ||
16 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | ||
17 | |||
14 | # Only used by sparc32 | 18 | # Only used by sparc32 |
15 | obj-$(CONFIG_HIGHMEM) += highmem.o | 19 | obj-$(CONFIG_HIGHMEM) += highmem.o |
16 | 20 | ||
diff --git a/arch/sparc64/mm/fault.c b/arch/sparc/mm/fault_64.c index a9e474bf6385..a9e474bf6385 100644 --- a/arch/sparc64/mm/fault.c +++ b/arch/sparc/mm/fault_64.c | |||
diff --git a/arch/sparc64/mm/generic.c b/arch/sparc/mm/generic_64.c index f362c2037013..f362c2037013 100644 --- a/arch/sparc64/mm/generic.c +++ b/arch/sparc/mm/generic_64.c | |||
diff --git a/arch/sparc64/mm/hugetlbpage.c b/arch/sparc/mm/hugetlbpage.c index f27d10369e0c..f27d10369e0c 100644 --- a/arch/sparc64/mm/hugetlbpage.c +++ b/arch/sparc/mm/hugetlbpage.c | |||
diff --git a/arch/sparc64/mm/init.c b/arch/sparc/mm/init_64.c index 4bd63968400d..6ea73da29312 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <asm/cpudata.h> | 50 | #include <asm/cpudata.h> |
51 | #include <asm/irq.h> | 51 | #include <asm/irq.h> |
52 | 52 | ||
53 | #include "init.h" | 53 | #include "init_64.h" |
54 | 54 | ||
55 | unsigned long kern_linear_pte_xor[2] __read_mostly; | 55 | unsigned long kern_linear_pte_xor[2] __read_mostly; |
56 | 56 | ||
@@ -954,7 +954,7 @@ int of_node_to_nid(struct device_node *dp) | |||
954 | return nid; | 954 | return nid; |
955 | } | 955 | } |
956 | 956 | ||
957 | static void __init add_node_ranges(void) | 957 | static void add_node_ranges(void) |
958 | { | 958 | { |
959 | int i; | 959 | int i; |
960 | 960 | ||
diff --git a/arch/sparc64/mm/init.h b/arch/sparc/mm/init_64.h index 16063870a489..16063870a489 100644 --- a/arch/sparc64/mm/init.h +++ b/arch/sparc/mm/init_64.h | |||
diff --git a/arch/sparc64/mm/tlb.c b/arch/sparc/mm/tlb.c index d8f21e24a82f..d8f21e24a82f 100644 --- a/arch/sparc64/mm/tlb.c +++ b/arch/sparc/mm/tlb.c | |||
diff --git a/arch/sparc64/mm/tsb.c b/arch/sparc/mm/tsb.c index f0282fad632a..f0282fad632a 100644 --- a/arch/sparc64/mm/tsb.c +++ b/arch/sparc/mm/tsb.c | |||
diff --git a/arch/sparc64/mm/ultra.S b/arch/sparc/mm/ultra.S index e4c146f7c7e9..e4c146f7c7e9 100644 --- a/arch/sparc64/mm/ultra.S +++ b/arch/sparc/mm/ultra.S | |||
diff --git a/arch/sparc64/Makefile b/arch/sparc64/Makefile index 3dbda408572b..bfe08680c897 100644 --- a/arch/sparc64/Makefile +++ b/arch/sparc64/Makefile | |||
@@ -27,7 +27,7 @@ endif | |||
27 | 27 | ||
28 | head-y := arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o | 28 | head-y := arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o |
29 | 29 | ||
30 | core-y += arch/sparc64/kernel/ arch/sparc64/mm/ | 30 | core-y += arch/sparc64/kernel/ arch/sparc/mm/ |
31 | core-y += arch/sparc/math-emu/ | 31 | core-y += arch/sparc/math-emu/ |
32 | libs-y += arch/sparc64/prom/ arch/sparc64/lib/ | 32 | libs-y += arch/sparc64/prom/ arch/sparc64/lib/ |
33 | drivers-$(CONFIG_OPROFILE) += arch/sparc/oprofile/ | 33 | drivers-$(CONFIG_OPROFILE) += arch/sparc/oprofile/ |
diff --git a/arch/sparc64/mm/Makefile b/arch/sparc64/mm/Makefile deleted file mode 100644 index 68d04c0370f4..000000000000 --- a/arch/sparc64/mm/Makefile +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # Makefile for the linux Sparc64-specific parts of the memory manager. | ||
2 | # | ||
3 | |||
4 | EXTRA_AFLAGS := -ansi | ||
5 | EXTRA_CFLAGS := -Werror | ||
6 | |||
7 | obj-y := ultra.o tlb.o tsb.o fault.o init.o generic.o | ||
8 | |||
9 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | ||