summaryrefslogtreecommitdiff
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-16 00:53:56 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-16 00:53:56 +0900
commit65305ae816ca17a38340aef0ccc92d0c127acccf (patch)
treeeb79f5942b85e857a2b0d09271253495356d5488 /arch/sh/mm
parenteccee7457df2b1e1505522ab0064e577e16eed75 (diff)
downloadlinux-3.10-65305ae816ca17a38340aef0ccc92d0c127acccf.tar.gz
linux-3.10-65305ae816ca17a38340aef0ccc92d0c127acccf.tar.bz2
linux-3.10-65305ae816ca17a38340aef0ccc92d0c127acccf.zip
sh: Convert cache disabled SH-5 over to new cache interface.
The caches enabled case needs more work, but is presently broken regardless, so this can be done incrementally. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/Makefile_642
-rw-r--r--arch/sh/mm/tlbflush_64.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/sh/mm/Makefile_64 b/arch/sh/mm/Makefile_64
index 4d5ed245ef4..dd104c4fffa 100644
--- a/arch/sh/mm/Makefile_64
+++ b/arch/sh/mm/Makefile_64
@@ -2,7 +2,7 @@
# Makefile for the Linux SuperH-specific parts of the memory manager.
#
-obj-y := init.o consistent.o mmap.o
+obj-y := cache.o consistent.o init.o kmap.o mmap.o
mmu-y := nommu.o extable_32.o
mmu-$(CONFIG_MMU) := fault_64.o ioremap_64.o tlbflush_64.o tlb-sh5.o \
diff --git a/arch/sh/mm/tlbflush_64.c b/arch/sh/mm/tlbflush_64.c
index fa5a95a062d..2dcc48528f7 100644
--- a/arch/sh/mm/tlbflush_64.c
+++ b/arch/sh/mm/tlbflush_64.c
@@ -470,8 +470,3 @@ void local_flush_tlb_kernel_range(unsigned long start, unsigned long end)
void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte)
{
}
-
-void __update_cache(struct vm_area_struct *vma,
- unsigned long address, pte_t pte)
-{
-}