aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-11-16 23:08:19 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-04 12:16:58 -0500
commitc37ddd936d96b46cf2bb17e7b1a18b2bd24ec1fb (patch)
treedff3bc2e890a4c1aa12bbce851be9eea4caa007f /arch/sparc/mm
parent7c979c49c9882badee45c0a7a3dbca1040b7ba73 (diff)
sparc: prepare mm/ for unification
- rename files where sparc64 has similar files to _32.c - Restructure Makefile - Sneak in -Werror as we have for sparc64 Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r--arch/sparc/mm/Makefile20
-rw-r--r--arch/sparc/mm/fault_32.c (renamed from arch/sparc/mm/fault.c)0
-rw-r--r--arch/sparc/mm/generic_32.c (renamed from arch/sparc/mm/generic.c)0
-rw-r--r--arch/sparc/mm/init_32.c (renamed from arch/sparc/mm/init.c)0
4 files changed, 12 insertions, 8 deletions
diff --git a/arch/sparc/mm/Makefile b/arch/sparc/mm/Makefile
index ea88955d97ff..3ad1b1f9953e 100644
--- a/arch/sparc/mm/Makefile
+++ b/arch/sparc/mm/Makefile
@@ -1,17 +1,21 @@
1# Makefile for the linux Sparc-specific parts of the memory manager. 1# Makefile for the linux Sparc-specific parts of the memory manager.
2# 2#
3 3
4EXTRA_AFLAGS := -ansi 4asflags-y := -ansi
5ccflags-y := -Werror
5 6
6obj-y := fault.o init.o loadmmu.o generic.o extable.o btfixup.o \ 7obj-y := fault_$(BITS).o
7 srmmu.o iommu.o io-unit.o hypersparc.o viking.o tsunami.o swift.o 8obj-y += init_$(BITS).o
9obj-$(CONFIG_SPARC32) += loadmmu.o
10obj-y += generic_$(BITS).o
11obj-$(CONFIG_SPARC32) += extable.o btfixup.o srmmu.o iommu.o io-unit.o
12obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o
8 13
9ifdef CONFIG_HIGHMEM 14# Only used by sparc32
10obj-y += highmem.o 15obj-$(CONFIG_HIGHMEM) += highmem.o
11endif
12 16
13ifdef CONFIG_SMP 17ifdef CONFIG_SMP
14obj-y += nosun4c.o 18obj-$(CONFIG_SPARC32) += nosun4c.o
15else 19else
16obj-y += sun4c.o 20obj-$(CONFIG_SPARC32) += sun4c.o
17endif 21endif
diff --git a/arch/sparc/mm/fault.c b/arch/sparc/mm/fault_32.c
index a507e1174662..a507e1174662 100644
--- a/arch/sparc/mm/fault.c
+++ b/arch/sparc/mm/fault_32.c
diff --git a/arch/sparc/mm/generic.c b/arch/sparc/mm/generic_32.c
index a289261da9fd..a289261da9fd 100644
--- a/arch/sparc/mm/generic.c
+++ b/arch/sparc/mm/generic_32.c
diff --git a/arch/sparc/mm/init.c b/arch/sparc/mm/init_32.c
index 677c1e187a23..677c1e187a23 100644
--- a/arch/sparc/mm/init.c
+++ b/arch/sparc/mm/init_32.c