]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Move over SH-5 TLB and cache support code.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 21 Nov 2007 08:07:06 +0000 (17:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:52 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/Makefile_64
arch/sh/mm/cache-sh5.c [moved from arch/sh64/mm/cache.c with 100% similarity]
arch/sh/mm/tlb-sh5.c [moved from arch/sh64/mm/tlb.c with 100% similarity]

index 82fe9072fd5cc4114e4e17cd328259b9d7b72acc..5ff83583593e7ecf555feee690a4872d2e25c842 100644 (file)
@@ -5,12 +5,15 @@
 obj-y                  := init.o extable_64.o consistent.o
 
 mmu-y                  := tlb-nommu.o pg-nommu.o
-mmu-$(CONFIG_MMU)      := fault_64.o ioremap_64.o tlb-flush_64.o
+mmu-$(CONFIG_MMU)      := fault_64.o ioremap_64.o tlb-flush_64.o tlb-sh5.o
+
+ifndef CONFIG_CACHE_OFF
+obj-y                  += cache-sh5.o
+endif
 
 obj-y                  += $(mmu-y)
 
 obj-$(CONFIG_HUGETLB_PAGE)     += hugetlbpage.o
-obj-$(CONFIG_PMB)              += pmb.o
 obj-$(CONFIG_NUMA)             += numa.o
 
 EXTRA_CFLAGS += -Werror
similarity index 100%
rename from arch/sh64/mm/cache.c
rename to arch/sh/mm/cache-sh5.c
similarity index 100%
rename from arch/sh64/mm/tlb.c
rename to arch/sh/mm/tlb-sh5.c