Browse Source

sh: Move over SH-5 TLB and cache support code.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 years ago
parent
commit
60b2249d45
3 changed files with 5 additions and 2 deletions
  1. 5 2
      arch/sh/mm/Makefile_64
  2. 0 0
      arch/sh/mm/cache-sh5.c
  3. 0 0
      arch/sh/mm/tlb-sh5.c

+ 5 - 2
arch/sh/mm/Makefile_64

@@ -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

+ 0 - 0
arch/sh64/mm/cache.c → arch/sh/mm/cache-sh5.c


+ 0 - 0
arch/sh64/mm/tlb.c → arch/sh/mm/tlb-sh5.c