diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-21 03:07:06 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:52 -0500 |
commit | 60b2249d45d44bd3494d55f5ea4bccd25c7f8281 (patch) | |
tree | a79cd2e691701cf78cba95095c4341d055ae656c /arch | |
parent | 8214d52ace79163ded60a8605c1d6c44b8b2bd30 (diff) |
sh: Move over SH-5 TLB and cache support code.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/mm/Makefile_64 | 7 | ||||
-rw-r--r-- | arch/sh/mm/cache-sh5.c (renamed from arch/sh64/mm/cache.c) | 0 | ||||
-rw-r--r-- | arch/sh/mm/tlb-sh5.c (renamed from arch/sh64/mm/tlb.c) | 0 |
3 files changed, 5 insertions, 2 deletions
diff --git a/arch/sh/mm/Makefile_64 b/arch/sh/mm/Makefile_64 index 82fe9072fd5c..5ff83583593e 100644 --- a/arch/sh/mm/Makefile_64 +++ b/arch/sh/mm/Makefile_64 | |||
@@ -5,12 +5,15 @@ | |||
5 | obj-y := init.o extable_64.o consistent.o | 5 | obj-y := init.o extable_64.o consistent.o |
6 | 6 | ||
7 | mmu-y := tlb-nommu.o pg-nommu.o | 7 | mmu-y := tlb-nommu.o pg-nommu.o |
8 | mmu-$(CONFIG_MMU) := fault_64.o ioremap_64.o tlb-flush_64.o | 8 | mmu-$(CONFIG_MMU) := fault_64.o ioremap_64.o tlb-flush_64.o tlb-sh5.o |
9 | |||
10 | ifndef CONFIG_CACHE_OFF | ||
11 | obj-y += cache-sh5.o | ||
12 | endif | ||
9 | 13 | ||
10 | obj-y += $(mmu-y) | 14 | obj-y += $(mmu-y) |
11 | 15 | ||
12 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | 16 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |
13 | obj-$(CONFIG_PMB) += pmb.o | ||
14 | obj-$(CONFIG_NUMA) += numa.o | 17 | obj-$(CONFIG_NUMA) += numa.o |
15 | 18 | ||
16 | EXTRA_CFLAGS += -Werror | 19 | EXTRA_CFLAGS += -Werror |
diff --git a/arch/sh64/mm/cache.c b/arch/sh/mm/cache-sh5.c index 421487cfff4c..421487cfff4c 100644 --- a/arch/sh64/mm/cache.c +++ b/arch/sh/mm/cache-sh5.c | |||
diff --git a/arch/sh64/mm/tlb.c b/arch/sh/mm/tlb-sh5.c index d517e7d70340..d517e7d70340 100644 --- a/arch/sh64/mm/tlb.c +++ b/arch/sh/mm/tlb-sh5.c | |||