From 17d285e537c498cf18ce79a52ca553ea964f389b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 31 Jul 2000 03:39:50 +0000 Subject: Shave of 50% of lat_mmap. Our cache routines were plain stupid. --- arch/mips/mm/andes.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/mips/mm/andes.c') 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(); -- cgit v1.2.3