summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/andes.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-31 03:39:50 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-31 03:39:50 +0000
commit17d285e537c498cf18ce79a52ca553ea964f389b (patch)
tree3905f77168a7a6d92c68bbd47b5ddae2664fe203 /arch/mips/mm/andes.c
parentce36512304b7cb5e1a911829b249e403261263ac (diff)
Shave of 50% of lat_mmap. Our cache routines were plain stupid.
Diffstat (limited to 'arch/mips/mm/andes.c')
-rw-r--r--arch/mips/mm/andes.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/mm/andes.c b/arch/mips/mm/andes.c
index 631d6f002..5e5cb4768 100644
--- a/arch/mips/mm/andes.c
+++ b/arch/mips/mm/andes.c
@@ -119,6 +119,12 @@ static void andes_flush_page_to_ram(struct page * page)
/* XXX */
}
+static void andes_flush_icache_page(struct vm_area_struct *vma,
+ struct page *page, unsigned long addr)
+{
+ /* XXX */
+}
+
static void andes_flush_cache_sigtramp(unsigned long page)
{
/* XXX */
@@ -171,6 +177,7 @@ void __init ld_mmu_andes(void)
_flush_cache_page = andes_flush_cache_page;
_flush_cache_sigtramp = andes_flush_cache_sigtramp;
_flush_page_to_ram = andes_flush_page_to_ram;
+ _flush_icache_page = andes_flush_icache_page;
flush_cache_all();
flush_tlb_all();